Run a schedule now
run_scheduleRuns a schedule or cron job on the project now, to try a script or see its result: runs a schedule's script (its Run line: a node, python or bash script of the project), as the schedule's owner, whatever its timetable. A runner must be configured. It asks the person to confirm in this AI tool, or answers with a preview and a proposal id, which this tool takes to run it once the person says yes. Returns the run's result, how long it took and the end of the script's log once it finishes, or that it is still going. For people who write in the schedule's folder.
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": {
"path": "<path>"
},
"name": "run_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The schedule's path, like instagram/post.schedule.md, or its § address. | |
| project | No | The project's slug, from open_project, like acme. Not needed when a § address names the project, or when the person is on one project. | |
| proposal | No | The proposal id that came with the preview, once the person said yes to it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | No | ||
| ran | Yes | ||
| run | No | ||
| said | No | ||
| state | No | ||
| commit | No | ||
| preview | No | ||
| proposal | No |