The user has specified a rule which prevents you from using this specific tool call. Here are some of the relevant #7531

Open
opened 2026-02-16 18:07:28 -05:00 by yindo · 2 comments
Owner

Originally created by @lanyanhua on GitHub (Jan 25, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

The user has specified a rule which prevents you from using this specific tool call. Here are some of the relevant rules [{"permission":"","pattern":"","action":"allow"},{"permission":"edit","pattern":"","action":"deny"},{"permission":"edit","pattern":".opencode/plans/.md","action":"allow"},{"permission":"edit","pattern":"../../.local/share/opencode/plans/*.md","action":"allow"}]

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @lanyanhua on GitHub (Jan 25, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description The user has specified a rule which prevents you from using this specific tool call. Here are some of the relevant rules [{"permission":"*","pattern":"*","action":"allow"},{"permission":"edit","pattern":"*","action":"deny"},{"permission":"edit","pattern":".opencode/plans/*.md","action":"allow"},{"permission":"edit","pattern":"../../.local/share/opencode/plans/*.md","action":"allow"}] ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 18:07:28 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 25, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #9927: Agent Permission not work as expected - Describes the exact same issue where permission rules fail to prevent tool calls despite being specified
  • #6892: MCP tool permissions not working after migration from tools to permissions - Related to permissions system not properly evaluating rules
  • #7006: permission.ask plugin hook is defined but not triggered - Related to permission system issues

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 25, 2026): This issue might be a duplicate of existing issues. Please check: - #9927: Agent Permission not work as expected - Describes the exact same issue where permission rules fail to prevent tool calls despite being specified - #6892: MCP tool permissions not working after migration from tools to permissions - Related to permissions system not properly evaluating rules - #7006: `permission.ask` plugin hook is defined but not triggered - Related to permission system issues Feel free to ignore if none of these address your specific case.
Author
Owner

@ariane-emory commented on GitHub (Jan 25, 2026):

Can you elaborate? On first glance, this appears to be normal expected behaviour for appropriate configurations, and not an error.

@ariane-emory commented on GitHub (Jan 25, 2026): Can you elaborate? On first glance, this appears to be normal expected behaviour for appropriate configurations, and not an error.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7531