validate_scope_contract
Check if an agent action complies with its scope contract by validating tool usage against allowlists, file access against permitted paths, and boundary constraints (no_network, read_only, no_exec, no_secrets).
Instructions
Check if an agent action complies with its scope contract. Validates tool usage against allowlists, file access against permitted paths, and boundary constraints (no_network, read_only, no_exec, no_secrets).
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": {
"scope_contract": "<scope_contract>",
"action": "<action>"
},
"name": "validate_scope_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The action to validate against the scope contract | |
| scope_contract | Yes | The agent scope contract defining permitted actions |