policy Read, and adding rules or test cases from it needs policy Write. See Permissions.
Candidate Rules is available when it is enabled for your account, in addition to Agent Governance. If you don’t see Candidate Rules in the Governance sidebar, contact Mezmo, or ask your account admin about your permissions.
How Tool Calls Are Grouped
The page groups tool calls at three levels. Each level matches a way that a policy rule can match a call:
Every row also shows which agents made the calls, how many calls they made, and when the calls were first and last seen.
View Tool Calls
- On the Candidate Rules page, choose an agent from the agent list, or keep All agents.
- Choose a date range: Last day, Last 3 days, Last 7 days, or All time. The default is All time. You can also pick a custom range from the calendar.
- Select a namespace to see the tools your agents called in it.
- Select a tool to see the sets of argument names your agents passed to it.
Add a Rule to a Policy
Before you begin, you needpolicy Write.
- On the row that the rule should match, select Add to policy.
- In Policy, choose the policy to add the rule to, or choose A new policy. The list shows your newest policies.
- Select Open in editor. The policy editor opens with a rule that matches the row’s namespace, tool, or tool and argument names.
- In the rule, choose the Outcome When This Rule Matches, and enter values for any arguments the rule checks. See Write Rules.
- Finish and save the policy as you normally would. See Change a Policy.
Add a Rule From the Policy Editor
You can also pick a candidate rule while you write a policy, without leaving the policy editor.- On the policy editor’s Rules step, select From candidate rules.
- Select a tool your agents have called. Use Search tools to filter the list.
- Under Match, choose what the rule matches: any call to the tool, any tool in its namespace, or calls passing the arguments you choose. If you choose arguments, select the argument names.
- Select Add rule.
- In the new rule card, choose the outcome and enter values for any arguments the rule checks.
Add a Test Case
Add a test case from a tool call to check how a policy decides calls your agents really make. You can add a test case from a row at the Tool Calls or Arguments level. Before you begin, you needpolicy Write.
- On the row, open the menu next to Add to policy, then select Add test case.
- In Test case, choose a saved test case to add the call to, or choose A new test case.
- Select Open in editor. The case editor opens with the call added.
- Enter the argument values and the expected outcome. See Test Cases and Expectations.
- Save the case.

