# 脚本

*由系统自动生成的章节目录，因原始网站中没有该章节的单独页面。*

* [基础 (Basic)](https://surge.mitsea.com/scripting/common)
* [HTTP 请求 (HTTP Request)](https://surge.mitsea.com/scripting/http-request)
* [HTTP 响应 (HTTP Response)](https://surge.mitsea.com/scripting/http-response)
* [规则 (Rule)](https://surge.mitsea.com/scripting/rule)
* [事件 (Event)](https://surge.mitsea.com/scripting/event)
* [DNS](https://surge.mitsea.com/scripting/dns)
* [计划任务 (Cron)](https://surge.mitsea.com/scripting/cron)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://surge.mitsea.com/scripting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
