bytebot_create_and_monitor_task
Create automated tasks and monitor their progress until completion or when intervention is required. Automatically polls task status and returns results when tasks reach terminal states like COMPLETED, NEEDS_HELP, or FAILED.
Instructions
Create a task and monitor its progress until completion or intervention needed. Automatically polls task status and returns when task reaches a terminal state (COMPLETED, NEEDS_HELP, NEEDS_REVIEW, FAILED, CANCELLED) or timeout is reached. This is the recommended way to execute tasks when you want to wait for results.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | Natural language description of the task to execute | |
| priority | No | Task priority level. Default: MEDIUM | MEDIUM |
| timeout | No | Maximum time to wait for task completion in milliseconds. Default: 300000 (5 minutes) | |
| pollInterval | No | How often to check task status in milliseconds. Default: 2000 (2 seconds) | |
| stopOnStatus | No | Stop monitoring when task reaches any of these statuses. Default: [COMPLETED, NEEDS_HELP, NEEDS_REVIEW, FAILED, CANCELLED] |