Turn credential proxy on or off for a connection
stack_set_connection_proxyTurn STACK's credential proxy on or off for one service connection (scon_*). On, agents reach the service only through the proxy, which injects the credential and checks every call. Turning it on applies at once. Turning it off weakens enforcement and needs a person's approval. 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": {
"connection_id": "<connection_id>",
"proxy_enabled": "<proxy_enabled>"
},
"name": "stack_set_connection_proxy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | Service connection id (scon_*) from stack_list_connected_services | |
| proxy_enabled | Yes | true routes agent calls through the proxy; false turns it off | |
| governance_approval_id | No | Approval id (gvr_*) from a GOVERNANCE_APPROVAL_REQUIRED response, after a person approved it |