Set trust setting
stack_set_trustSet the trust switch, for the account or, with agent_id, for one agent (its value wins over the account's). trust is "ask_first" or "trust_agents"; for an agent, null removes its own value so it follows the account again. It is a setting of its own, not part of a control policy. A change that makes the scope trust where it asked first before (to "trust_agents", or null while the account trusts) needs a person's approval (trust_widen); a change to "ask_first" applies at once. Every change is recorded in the audit log. "ask_first" keeps today's behaviour: a card purchase, an order on the customer's own supplier account and an owner-key governance change wait for a person. "trust_agents" lets all three through without waiting. In both, a wallet balance or spend limit still refuses, a revoked or suspended agent is still refused, a control policy's review rule still holds the action, and the browser-only actions stay in the browser. STACK starts a new account on "trust_agents". Returns the value set and what is in force. Operator only, never metered. When human approval is required and the chat client supports MCP elicitation, the person is asked to confirm the exact change in the client; the change is applied only after they approve, and a rejection changes nothing. Otherwise it returns GOVERNANCE_APPROVAL_REQUIRED with approval_id and approval_url, the page for that one approval, and the same payload sent with governance_approval_id after approval applies the change. An approval is single-use, bound to the exact payload, and expires after 24 hours.
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": {
"trust": "<trust>"
},
"name": "stack_set_trust"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trust | Yes | "ask_first" or "trust_agents"; null (with agent_id) makes the agent follow the account | |
| agent_id | No | Agent id (agt_*) of the agent this applies to. Omit for the account's value, which every agent without its own value uses. | |
| governance_approval_id | No | Approval id (gvr_*) from a prior 403, after a person approved the change |