cancel_script
Abort a running script immediately, closing its browser tab and discarding partial results, to stop a stuck, slow, or unneeded crawl.
Instructions
Abort a running script immediately, closing its browser tab and discarding any partial results not yet yielded. The script transitions to 'cancelled' status. Use when a script is stuck, taking too long, or its results are no longer needed.
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": {
"script_id": "<script_id>"
},
"name": "cancel_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_id | Yes | Script ID to cancel (format: scr_XXXXXXXX). Obtain from the run_script response or list_scripts. |