list_tasks
List all scheduled tasks. From the main group, this shows all tasks across all groups. From other groups, it only shows that group’s tasks.Signature
Parameters
No parameters required.Return Value
Array with a single text content item containing formatted task list.Format:
Example
Implementation
The tool reads from/workspace/ipc/current_tasks.json, which is maintained by the host process:
update_task
Modify an existing scheduled task. Only provided fields are changed; omitted fields remain unchanged.Signature
Parameters
The ID of the task to update. Obtain this from
list_tasks or from the return value of schedule_task.New instructions for what the agent should do when the task runs. If omitted, the existing prompt is unchanged.
New schedule type:
cron, interval, or once. If omitted, the existing type is unchanged.New schedule value (format depends on
schedule_type). If omitted, the existing value is unchanged.See schedule_task for format details.Return Value
Confirmation message indicating the update was requested.
Validation
The tool validates the new schedule value if provided:- Cron expressions are parsed with
cron-parser - Interval values must be positive integers
- Timestamps must be valid dates
Examples
pause_task
Pause a scheduled task. The task will not run until it is resumed withresume_task.
Signature
Parameters
The ID of the task to pause.
Return Value
Confirmation message:
"Task {task_id} pause requested."Example
resume_task
Resume a paused task. The task will continue running on its schedule.Signature
Parameters
The ID of the task to resume.
Return Value
Confirmation message:
"Task {task_id} resume requested."Example
cancel_task
Permanently delete a scheduled task. This action cannot be undone.Signature
Parameters
The ID of the task to cancel and delete.
Return Value
Confirmation message:
"Task {task_id} cancellation requested."Example
send_message
Send a message to the user or group immediately while the agent is still running. This is useful for:- Progress updates during long-running tasks
- Sending multiple messages in sequence
- Immediate feedback before the agent completes
Signature
Parameters
The message text to send to the user or group.
Optional role or identity name (e.g., “Researcher”, “Reporter”). When set, messages appear from a dedicated bot in Telegram (or similar for other channels that support it).This is useful for multi-agent scenarios where you want to distinguish between different agent roles.
Return Value
Confirmation message:
"Message sent."Examples
IPC Implementation
The tool writes a JSON file to/workspace/ipc/messages/:
Permissions
All task management tools respect group boundaries:| Tool | Non-Main Groups | Main Group |
|---|---|---|
list_tasks | Shows only this group’s tasks | Shows all tasks |
update_task | Can update own tasks only | Can update any task |
pause_task | Can pause own tasks only | Can pause any task |
resume_task | Can resume own tasks only | Can resume any task |
cancel_task | Can cancel own tasks only | Can cancel any task |
send_message | Sends to own group only | Sends to own group only |