list_scripts
Lists JavaScript scripts in a WeChat MiniApp page to identify scripts for debugging breakpoints or code analysis. Returns script IDs, URLs, and source map details.
Instructions
Lists all JavaScript scripts loaded in the current page. Returns script ID, URL, and source map information. Use this to find scripts before setting breakpoints or searching.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |