Run a routine
run_routineStart a person's routine now by name or id. It runs like a scheduled run, with results delivered in Casama and as a notification; pass request_id to prevent duplicate starts on retry.
Instructions
Start one of the person's routines now, by name or id. It runs like a scheduled run; the result arrives in Casama and as a notification. Pass request_id so a retry within a minute doesn't start it twice.
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": {
"routine": "<routine>"
},
"name": "run_routine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | The routine's bot, when names repeat | |
| routine | Yes | Routine name or id | |
| workspace | No | ||
| request_id | No |