Rules are the building blocks of policies. Each rule defines a specific condition that must be satisfied for a tool call to proceed. A policy can contain multiple rules of different types.Documentation Index
Fetch the complete documentation index at: https://docs.veto.tools/llms.txt
Use this file to discover all available pages before exploring further.
Tool patterns
Several rule types accept atools array that scopes the rule to specific tool names. Two pattern forms are supported:
- Exact match:
"file.read"matches onlyfile.read - Trailing wildcard:
"file.*"matchesfile.read,file.write,file.delete, and any other tool starting withfile. - Match all:
"*"matches any tool name
1. tool_allowlist
An allowlist explicitly permits the listed tools. If the requested tool is not in the list, the request is denied.An allowlist rule that matches the requested tool affirmatively contributes to an
allowed decision. The policy evaluator requires at least one affirmative rule to return allowed.2. tool_denylist
A denylist explicitly blocks the listed tools. If the requested tool is in the list, the request is denied immediately.allowed decision — tools not on the denylist simply won’t match, and evaluation will fall through to the next policy (or default deny).
3. parameter_constraint
A parameter constraint validates the values of tool parameters before allowing the call. If any parameter fails its constraint, the request is denied.tools field to scope the constraint to specific tools. Omit tools to apply the constraint to all tools.
Example: restrict file writes to paths under /home/
Parameter values that match a sensitive key pattern (such as
password, token, or api_key) are redacted in denial reasons and audit log entries.4. rate_limit
A rate limit caps how many times an agent can successfully call a tool within a rolling time window.tools field to scope the limit to specific tools. Omit tools to apply the limit across all tool calls.
Example: cap web searches to 100 per hour
Only calls that resulted in
allowed count against the rate limit budget. Denied requests do not consume quota.5. time_based
A time-based rule restricts tool calls to certain hours of the day or days of the week.timezone is omitted, times are evaluated in UTC.
Example: business hours only, Monday–Friday, US Central