Cancel Study Run
cancel_study_runStop pending Study work; keep saved replies. Returns run/collection status.
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_study_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | The durable Study run UUID returned when starting the Study or by get_study_status. This is runId, not the response collection executionId or an assistant messageId. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | The actual durable run cancellation acknowledgement from the v1 API, including runId, run status, and progressive response-collection state when present. Already completed collections remain completed. Cancelled collections can contain saved replies while remaining incomplete. |