list_scripts
Retrieve scripts collected from the Debugger domain, filtered by URL substring, to identify and inspect script sources.
Instructions
List scripts known to the Debugger domain (collected via scriptParsed). Use urlFilter to narrow down, then get_script_source to read source code.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>"
},
"name": "list_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | Page id from list_pages, or "main" (default) for the main process. | |
| sessionId | Yes | Session id returned by launch_app. | |
| urlFilter | No | Only include scripts whose URL contains this substring. |