Evaluate an action against the nearest permission register
controlcenter_evaluate_permissionReports an agent's permission for an action at a path by resolving the nearest LOCK.permissions register, returning allow, deny, ask, or unknown.
Instructions
Reports what a LOCK.permissions register allows an agent to do at a path, using the nearest register found in the path or any parent, with precedence deny > ask > allow > default. This is a report, not enforcement: it grants no authority and blocks nothing. If no register exists anywhere up the chain, the answer is 'unknown' rather than 'allow' — the absence of a rule is not a permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path the action would touch. | |
| agent | Yes | Agent identity as used in applies_to_agents, e.g. claude, codex, gemini. | |
| action | Yes | Action in register syntax, e.g. Read(a.txt), Write(**/CREDENTIALS/**), Bash(rm:*), mcp__vendor__tool. |