Stop Script
stop_scriptStop a running play. Errors if the run does not exist; once the stop takes effect, get_play_status reports the run as stopped.
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": {
"projectId": "<projectId>",
"scriptRunId": "<scriptRunId>"
},
"name": "stop_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | ||
| scriptRunId | Yes | The script run id to stop. |