list_permission_rules
The CodePanel MCP tool that lists the commands always allowed per repository, so you know what agents run without asking.
On this page›
list_permission_rules lists the commands always allowed per repository: each rule is one repository and one exact command, with who made it and the run's permission it came from. It needs the read scope.
When to call it
- Before asking the owner, to see whether a command already runs without asking.
- To audit what agents may run unasked.
Inputs
| Input | Type | Required | Description |
|---|
It only reads: the server marks it readOnlyHint: true, so clients that ask before a write can run it without asking.
What it returns
{ rules }, newest first. Each run on a rule's repository adds it to its rules from the runner's next check; a preset's deny still wins.
The same step without MCP
| Surface | Form |
|---|---|
| HTTP API | GET /autopilot/permissions with the read scope |
| CLI | codepanel autopilot permissions |
| Desktop app | Settings, Permissions, Always allowed |
What the server tells your agent
The description your agent reads when it lists the tools:
Use it to see which commands run without asking: the account's standing allows, each one repository and one exact command, newest first, with who made it and from which run's permission. Every run on the repository adds them to its rules; a preset's deny still wins. Returns { rules }.
Related
always_allowandremove_permission_rule.- MCP server: install, sign-in and every other tool.