Update Agent Policy
update_agent_policyCreate or update a policy/guardrail for an agent.
Policy types: • brand_safety - Content must align with brand guidelines • platform_compliance - Must follow platform ad policies • approval_gate - Require human approval before execution • budget_limit - Cap spending or resource usage • content_filter - Filter certain topics or language
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>",
"policyType": "<policyType>",
"rules": "<rules>"
},
"name": "update_agent_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | Policy rules | |
| active | No | Whether policy is active | |
| agentId | Yes | Agent to set policy for | |
| policyType | Yes | Policy type |