Control Project Scheduler
control_schedulerStart, pause, or resume a project's autonomous work.
`action` is one of: "enable" | "disable" | "resume" | "process_now".
- enable/disable flip scheduler_enabled (the loop dispatches only enabled,
status='active' projects).
- resume clears a pause (peak/backoff/manual) so the project dispatches again.
- process_now durably prioritizes and immediately attempts the next intake
batch, independent of the dev scheduler switch. A gate returns a typed
reason and recovery step instead of a spawn promise.
- enable/resume can execute pending refinement that DELETES tasks, and
process_now can start an intake batch, so the tool is destructive even
when the echoed scheduler state looks unchanged.
Returns the resulting scheduler state.
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": {
"project_id": "<project_id>",
"action": "<action>"
},
"name": "control_scheduler"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |