cancel_task
Cancel a background task using its task ID, receiving cancellation status. Works best-effort; long-running operations may not stop immediately.
Instructions
Cancel a pending or running background task.
Args: task_id: The task ID to cancel.
Returns: JSON with cancellation status.
Note: Cancellation is best-effort. Long-running operations may not stop immediately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |