List third-party scripts on a page
list_scriptsList the third-party scripts attached to a page: analytics, chat widgets, pixels and the like. Inline code is summarised by length rather than returned in full.
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": {
"pageId": "<pageId>"
},
"name": "list_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The page to act on (id from list_pages / list_sites). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| pageId | Yes | ||
| scripts | Yes | ||
| maxScripts | Yes | Per-page limit. |