Cancel a Harness run
cancel_runCancel an active run by its ID through the public Host API. Submit the run ID to request termination and stop further execution.
Instructions
Request cancellation through the public Host API.
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": {
"runId": "<runId>"
},
"name": "cancel_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | ||
| idempotencyKey | No |