Create a process schedule
create_scheduleSchedule a process to run automatically on a recurring cadence -- hourly, daily, or weekly -- in a named timezone. This is real autonomy: once created and enabled, OTP runs the SOP on its own and the run spends the organization's wallet, with no human in the session. Call list_processes first and pass the exact agent_external_id and sop_title it returned. Cadence is limited to hourly/daily/weekly by design; there is no raw cron and no weekdays-only option, so say so plainly rather than approximating one. Requires a funded wallet and an active API key.
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_external_id": "<agent_external_id>",
"sop_title": "<sop_title>",
"cadence": "<cadence>"
},
"name": "create_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hour | No | Hour of day, 0-23, in the schedule's timezone. Required for daily and weekly; ignored for hourly. 10 means 10am. | |
| name | No | Label for the schedule. Defaults to the SOP title. | |
| minute | No | Minute of the hour, 0-59. Defaults to 0. | |
| sop_id | No | SOP id when list_processes returned one; more precise than matching on title | |
| cadence | Yes | How often it runs | |
| weekday | No | Day of week for weekly, 0=Sunday through 6=Saturday. Defaults to Monday. | |
| timezone | No | IANA timezone the hour is read in, e.g. 'America/New_York'. Defaults to America/New_York. Ask rather than assume when the user's timezone is not already known. | |
| sop_title | Yes | Exact title of the SOP to run, as list_processes returned it | |
| agent_external_id | Yes | The seat that owns the process, exactly as list_processes returned it (e.g. 'AGT_RADAR') |