schedule_task
Register a persistent cron schedule that runs even when your agent session ends. Specify a URL to call, how often, and for how long.
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": {
"agent_id": "<agent_id>",
"url": "<url>",
"interval_minutes": "<interval_minutes>"
},
"name": "schedule_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTPS URL to call on each execution | |
| body | No | Optional JSON body for POST requests | |
| method | No | HTTP method: GET or POST (default: GET) | GET |
| agent_id | Yes | Your agent identifier | |
| duration_days | No | How many days to keep running (max 30, default 7) | |
| interval_minutes | Yes | How often to run (minimum 15 minutes) |