files_run_cancel
Cancels a previously started files_run task by its task_id (only the task's owner can cancel). Marks the task so the worker won't pick it up; a task that is already running may still finish. Returns whether it was cancelled. Signature: files_run_cancel(task_id, file_uuid?).
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": {
"task_id": "<task_id>"
},
"name": "files_run_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The task id returned by files_run. | |
| file_uuid | No | The file the task was started for. When given, a task belonging to another file is reported as not found. Required when connected with a space API token. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileUuid | Yes | ||
| taskUuid | Yes | ||
| cancelled | Yes | ||
| previousStatus | Yes |