[BUG] Tool restrictions from claude.ai are ignored by the CLI / VS Code extension

Resolved 💬 4 comments Opened Jun 6, 2026 by phuryn Closed Jun 15, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Tool restrictions from claude.ai are ignored by the CLI / VS Code extension. Executed:

  • Disabled tools
  • Tools that require human approval

There was a reason the user disabled it. I believe we should block the execution or escalate to a human. Dynamic workflows included.

What Should Happen?

Disabled tools: Block the execution or don't even present that tool
Tools that require human approval: Block the execution or HITL when possible

Error Messages/Logs

Steps to Reproduce

  1. Disable a tool in claude.ai (e.g., "Lists user labels" for Gmail)
  2. Wait 5 minutes
  3. Start a new Claude Claude session
  4. Ask Claude to list labels

Observed behavior:

  • CLI and VS Code extension both ignore claude.ai restrictions

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

v2.1.167

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗