Start control policy from current access
stack_policy_start_from_current_accessCreate a policy for an agent that equals what its connection grants allow today, as the place to start narrowing. It changes no outcome until it is tightened. It fails with a conflict when the agent already has a policy, and with CONTROLS_NOT_ENABLED when controls are off. Starting one that allows more than the default policy now in force counts as a loosening. Operator only. Tightening applies at once. Loosening a policy, and deleting one, 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. The tool never waits or loops for the approval. An approval is single-use, bound to the exact request, and expires after 24 hours. Returns change and the policy.
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": {
"agent_id": "<agent_id>"
},
"name": "stack_policy_start_from_current_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The agent (agt_*) to start a policy for | |
| governance_approval_id | No | Approval id (gvr_*) from a GOVERNANCE_APPROVAL_REQUIRED response, once the person approved it in their browser |