Create Schedule
createScheduleCreate a schedule for an agent. The schedule fires against the agent's live build. The authenticated user owns the schedule. On a team with revisions, a repeating schedule for an Agent in an automation joins that automation's revisions: one matching a schedule the automation already runs fires at once, and a new one is saved to the automation's draft and fires once the draft is made active (see pending_change).
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>",
"enabled": "<enabled>",
"frequency": "<frequency>",
"timezone": "<timezone>"
},
"name": "createSchedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | ||
| cron | No | ||
| time | No | ||
| enabled | Yes | ||
| agent_id | Yes | The agent's unique identifier | |
| timezone | Yes | ||
| frequency | Yes | ||
| recurring | No | ||
| day_of_month | No |