cancel_run
Cancel ongoing Cursor SDK runs by relay ID. Idempotent operation ensures consistent results, halting task execution reliably.
Instructions
取消仍在执行的 Cursor SDK 运行;重复取消具有稳定结果。
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": {
"relayRunId": "<relayRunId>"
},
"name": "cancel_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relayRunId | Yes |