veya_set_tool_policy
Allow or deny a tool for an agent. Requires the API key that owns the environment. Saved on that account.
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": {
"environmentId": "<environmentId>",
"agentId": "<agentId>",
"tool": "<tool>",
"allowed": "<allowed>"
},
"name": "veya_set_tool_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| apiKey | No | ||
| agentId | Yes | ||
| allowed | Yes | ||
| environmentId | Yes |