Rules

Allow, ask, or deny — per agent, per tool.

Precedence

  • Exact tool name wins first.
  • Next, the longest matching glob pattern (*).
  • On a tie, deny beats ask, and ask beats allow.
  • Unlisted tools default to ask.
toml
[agents.claude-code.tools]
"github__list_*" = "allow"
"github__*" = "ask"
"*__delete*" = "deny"

Denied tools stay hidden

Any tool matching a deny rule is stripped from the agent’s tools/list response — the agent never sees it advertised, and direct calls to it are rejected.

Guided rule setup & scorers (coming soon)

The desktop app adds a plain-English guided chat that writes icy.toml for you, plus optional risk scoring (Jev, Laya, and additional providers) for nuanced actions that static globs cannot judge alone.