Set control mode
stack_set_control_modeChoose who decides the account's agents' actions: hosted, STACK's hosted controls (needs controls on, else CONTROLS_NOT_ENABLED), or none, no check at all. Your own decision address is switched on by stack_verify_control_address. Choosing none always needs approval, also while controls are off (the choice outlives that state); so does leaving your own server for hosted. Switching from none to hosted applies at once. Operator only. This needs the person to approve it in their browser, never in the chat: the call fails with GOVERNANCE_APPROVAL_REQUIRED, approval_id and approval_url, the page where they approve that one change, and the same call sent with governance_approval_id after approval applies it. An approval is single-use, bound to the exact request, and expires after 24 hours. Returns the socket.
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": {
"mode": "<mode>"
},
"name": "stack_set_control_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| governance_approval_id | No | Approval id (gvr_*) from a GOVERNANCE_APPROVAL_REQUIRED response, once the person approved it in their browser |