Skip to main content
Glama

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
NameRequiredDescriptionDefault
descriptionYesNatural language description of the task to execute
priorityNoTask priority level. Default: MEDIUMMEDIUM
timeoutNoMaximum time to wait for task completion in milliseconds. Default: 300000 (5 minutes)
pollIntervalNoHow often to check task status in milliseconds. Default: 2000 (2 seconds)
stopOnStatusNoStop monitoring when task reaches any of these statuses. Default: [COMPLETED, NEEDS_HELP, NEEDS_REVIEW, FAILED, CANCELLED]

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sensuslab/spark-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server