asksteps: switch a process on or pause it (needs the account's mandate)
asksteps_set_process_activeSwitches a process on (active = true) or pauses it (active = false). Requires "automation:write". Both directions need the account's mandate "activate" (granted by the account owner in the studio under AI agents) and work in three steps: without the mandate the answer is "confirmation_required" with the studio link and NOTHING happens — hand the user the url; with the mandate and without confirm the answer is "input_required" with the findings and what the switch does — read it to the user and ask; only with confirm = true it is carried out, and the account owner is emailed about it. Switching on makes the process start for every new submission and lets email reach visitors; pausing stops new cases but running cases keep going. "invalid" lists the checks that failed.
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": {
"process_id": "<process_id>",
"active": "<active>"
},
"name": "asksteps_set_process_active"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | Yes | true to switch on, false to pause. | |
| confirm | No | Set to true only AFTER the user has explicitly agreed. Without it nothing is switched. | |
| process_id | Yes | The process id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Path of the process in the asksteps studio, where the user does it themselves. | |
| note | Yes | One or two sentences for the user. On "input_required" it says what the switch does and how many findings there are. | |
| issues | No | The findings that block (or would block) switching on, with path and code. | |
| status | Yes | Outcome. One of: "activated", "paused", "unchanged" (already in that state), "input_required" (the mandate is there; read note and issues, ask the user and call again with confirm = true), "confirmation_required" (the account has not authorised an agent to do this: NOTHING happened, give the user the url), "invalid" (the checks failed; see issues), "not_found", "rate_limited", "not_connected", "error". Authorisation can also refuse before the tool runs: "plan_required" (the account's plan does not include agent access), "not_enabled" (the account owner has not switched agent access on), "permission_denied" (the connected user's role lacks the permission; the note names it), "mandate_required" (the owner has not granted a mandate for this). The note then says what the user has to do. | |
| missing | No | The parameters you still have to supply: ["confirm"] on "input_required". | |
| processId | No | The id of the process. | |
| processStatus | No | The status of the process after the call. |