[DOCS] Document the mapping between TUI display labels and canonical tool names (e.g. "Update" → Edit)
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- documentation
Research direction
Start at the Tools reference page and review its canonical-name table alongside the examples from #25161 and #85648. Verify which TUI display labels differ, including Update for Edit, then document the mappings and add the note that permission rules, hooks, and tool lists require canonical names; done when the differing labels are covered and the distinction is clear.
Written by the indexing model from the issue text.
Description
Documentation Type
Missing documentation (feature not documented)
Documentation Location
https://code.claude.com/docs/en/tools-reference
Section/Topic
Tools reference — built-in tool names vs. TUI display labels (e.g. "Update" vs Edit)
Current Documentation
The tools table lists every built-in tool by canonical name and states: "The tool names are the exact strings you use in permission rules, subagent tool lists, and hook matchers." The Edit tool is described as "Makes targeted edits to specific files." Nothing on this page (or elsewhere in the docs) mentions that the TUI renders Edit tool calls with the display label "Update()". The word "Update" does not appear as a tool anywhere in the reference.
What's Wrong or Missing?
The TUI shows friendly display labels that differ from canonical tool names — most notably, Edit renders as "Update()" in the transcript and in approval cards. Every configuration surface (permission rules, hook matchers, subagent tool lists, --allowedTools/--disallowedTools) requires the canonical names, but the docs never state the mapping. Consequences: (1) users write rules against the label they see (e.g. Update(**/pom.xml)), which silently matches nothing, and debugging is painful because the transcript keeps saying "Update"; (2) users conclude Update and Edit are two different tools — see #25161, where a user reported Claude Code "switching between the Update and Edit tools" and asked to enforce one, closed as not planned because the premise is a rendering artifact; (3) verifying the mapping currently requires inspecting the session JSONL or writing a PostToolUse hook.
Suggested Improvement
Add a "Display label" column (or a short mapping table) to the tools reference covering every tool whose TUI label differs from its canonical name, plus a one-line note that permission rules, hooks, and tool lists must always use the canonical name, never the on-screen label.
Impact
Low - Minor confusion or inconvenience
Additional Context
#25161 — user believed Update and Edit were separate tools. #85648 — desktop app approval cards also render "Update(path)" for Edit calls, so the label spans surfaces. Confirmed via session transcript JSONL that the tool_use block for an "Update(...)" transcript entry is named "Edit".
- Dominant language
- TypeScript
- Stars
- 147k
- Forks
- 24k
- Avg merge
- 8h 14m
- Merged PRs (30d)
- 18
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from anthropics/claude-code
-
area:desktop bug platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
anthropics/claude-code#95572 ·
-
area:agents area:docs bug
Difficulty 1/5 Under an hour Newbie friendliness 95/100
anthropics/claude-code#95540 · 2 comments ·
-
area:docs bug has repro platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
anthropics/claude-code#95526 ·
-
area:claude-code-web area:hooks bug has repro
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
anthropics/claude-code#95524 · 1 comment ·
-
area:mcp enhancement external
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
anthropics/claude-code#95435 ·
All issues in anthropics/claude-code
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100