create_cron
Schedule recurring agent tasks with custom intervals and prompts, enabling automated workflows on GitHub repos.
Instructions
Create a new cron job that fires on a recurring interval and spawns an agent.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"interval_ms": "<interval_ms>",
"prompt": "<prompt>",
"schedule": "<schedule>"
},
"name": "create_cron"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Task prompt to pass to the agent on each fire | |
| chat_id | No | Telegram chat ID for notification routing (optional, default 0) | |
| enabled | No | Whether the cron is active (optional, default true) | |
| repo_url | No | Repository URL to run the cron task on (optional) | |
| schedule | Yes | Human-readable schedule label, e.g. 'every 30m' | |
| interval_ms | Yes | Interval in milliseconds between fires |