Start a server routine
create_server_routineStart a finite server-side recipe with step/cycle events, independent of browsers. Creation schedules work immediately. A webhook authorizes selected event deliveries with bounded retries; events can arrive late, duplicated or out of order. Automatic whole-second phases only, at most 64 phases and 30 days.
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": {
"recipe": "<recipe>",
"idempotency_key": "<idempotency_key>"
},
"name": "create_server_routine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | No | ||
| recipe | Yes | Recipe v1: 1–12 whole-second steps, no repeats. v2: 1–32 steps, fractional seconds and repeats. At most 512 expanded intervals and 10 years; defaults may be omitted. | |
| webhook_url | No | ||
| max_attempts | No | ||
| idempotency_key | Yes | ||
| max_lateness_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| created | Yes | ||
| routine | Yes |