check_web_task
Monitor the progress of background web browsing tasks to track completion status, view recent actions, and retrieve results when automated operations finish processing.
Instructions
Check progress of a background web browsing task.
Returns a summary of task progress. By default, returns compact format to
avoid filling your context window with verbose progress logs.
IMPORTANT: To prevent context bloat, wait at least 3-5 seconds between
checks. Use the 'recommended_poll_after' timestamp as guidance.
Args:
task_id: Task ID from start_web_task()
compact: Return summary only (default: True). Set to False for full details.
Returns:
Dictionary containing:
- ok: Boolean indicating success
- task_id: Task identifier
- status: "pending", "running", "completed", "failed", or "cancelled"
- progress_summary: Recent actions (compact mode only)
- progress: Full action history (full mode only)
- result: Task results (when completed)
- error: Error message (when failed)
- recommended_poll_after: Timestamp to check again (when running)
- polling_guidance: Message about polling frequency
Examples:
- check_web_task("abc-123-def") # Compact summary
- check_web_task("abc-123-def", compact=False) # Full details
Best Practice:
Only poll every 3-5 seconds to keep your context window clean.
Use the wait() tool to pause between checks if your platform doesn't
support automatic delays.
Recommended workflow:
1. start_web_task("...")
2. wait(5)
3. check_web_task(task_id)
4. If still running, repeat steps 2-3
Input Schema
Name | Required | Description | Default |
---|---|---|---|
compact | No | ||
task_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"compact": {
"default": true,
"title": "Compact",
"type": "boolean"
},
"task_id": {
"title": "Task Id",
"type": "string"
}
},
"required": [
"task_id"
],
"type": "object"
}