schedule_run
Schedules an exposed macro to run later, at a time said the way people say it, and returns at once with the schedule id.
Details #
The server finds the macro among the exposed ones, checks the inputs like run_macro, reads the time, asks for approval if the macro needs it (now, at scheduling time, not when it runs), and parks the run in the engine. The run starts by itself at the time, even if the agent's session is over.
{ "jsonrpc": "2.0", "id": 2, "method": "tools/call",
"params": { "name": "schedule_run", "arguments": { "name": "Back up", "at": "tomorrow 9" } } }
The result text is JSON: id, macro, at (ISO), display ("Tue, Nov 3, 9:00 AM · in 14 h"), key and note.