task_cancel
Cancel a running or queued Globus task by ID, or stop all your in-progress tasks at once.
Instructions
Cancel a running or queued task.
Cancels a specific task by ID, or all your in-progress tasks with --all. You must provide either a task_id or set all=True.
Args: task_id: The UUID of the task to cancel. Optional if all=True. all: If True, cancel all your in-progress tasks.
Returns: Dict with cancellation confirmation.
Raises: ValueError: If neither task_id nor all=True is provided.
Examples: task_cancel("abc123-def456-...") task_cancel(all=True) # Cancel all your tasks
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "task_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | No | ||
| all | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||