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
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | No | ||
| all | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||