Add or change a duty
save_dutyAdds a duty (a scheduled wake-up with its own instructions) to an agent, or changes one when id is given. schedule: five-field cron ("0 8 * * 1-5"), an interval ("30m", "every 2h") or a one-off ISO time ("2026-12-01T09:00").
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>",
"schedule": "<schedule>",
"prompt": "<prompt>"
},
"name": "save_duty"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| prompt | Yes | ||
| agent_id | Yes | The agent id, like agt_j8bbg89jv5 (get_account lists them). | |
| schedule | Yes | ||
| timezone | No |