Get control policy
stack_get_control_policyGet one policy. With agent_id: that agent's own policy (null when it has none) and in_force, the policy that applies to it now (its own, else the default) with its id, revision and source, plus controls_enabled. Without agent_id: the default policy, or a not-found error when there is none. Operator only. A controls feature: with controls off the API answers 402 CONTROLS_REQUIRED, and the owner switches controls on in the Console, at the Billing page. A self-managed install has every controls feature.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "stack_get_control_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | The agent (agt_*) whose own policy this is. Omit for the default policy, which applies to every agent account without a policy of its own. |