get_task_status
Check the status and progress of a background task using its task ID. Optionally include the full result once the task is completed.
Instructions
Get the status and progress of a background task.
Args: task_id: The task ID returned by an async operation. include_result: If True, include the full result when completed.
Returns: JSON with task status, progress, and optionally the result.
Example: get_task_status("abc123") -> { "task_id": "abc123", "status": "running", "progress": { "current_step": "Copying data", "percent_complete": 45.0, "message": "Copying table Subject..." } }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| include_result | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |