detach_policy_from_agent
Remove a policy from an agent without deleting it. The policy remains available for other agents. Verify detachment by checking the server response and using list_agent_policies.
Instructions
Unscope a policy from a agent. This only removes the link — the policy itself is not deleted and stays available to attach elsewhere. The response is the SERVER'S answer, not a success claim by this connector: a detach that had nothing to remove reports that instead of failing, so read the body rather than assuming the link is gone. Confirm what is left with list_agent_policies.
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": {
"agentId": "<agentId>",
"policyId": "<policyId>"
},
"name": "detach_policy_from_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | ||
| policyId | Yes |