remove_permission_rule
The CodePanel MCP tool that takes back a standing allow, so the command asks again on every run.
On this page›
remove_permission_rule takes back a standing allow: the command asks again on every run of the repository from the runner's next check. Removing only narrows what agents may do, so it needs the tasks:write scope.
When to call it
- When a command should ask again, or a rule was made by mistake.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
ruleId |
string | yes | From list_permission_rules |
It writes: the server marks it readOnlyHint: false and destructiveHint: true (it can change what is already there), so a client that asks before writes asks here.
ruleId, from list_permission_rules.
What it returns
{ before, after: null }: the rule as it stood, now gone.
The same step without MCP
| Surface | Form |
|---|---|
| HTTP API | POST /autopilot/permissions/remove with the tasks:write scope |
| CLI | codepanel autopilot permissions remove <ruleId> |
| Desktop app | Settings, Permissions, Remove beside the rule |
What the server tells your agent
The description your agent reads when it lists the tools:
Use it to take back a standing allow: the command asks again on every run of the repository from the runner's next check. Removing only narrows what agents may do, so it needs tasks:write. Returns { before, after: null }.
Related
always_allow: make one.- MCP server: install, sign-in and every other tool.