Documentation
¶
Overview ¶
Package toolnames maps Claude Code's built-in tool names to the agentx built-in tools that play the same role. Hook matchers and permission rules written for Claude Code, such as "Edit|Write" or "Bash(npm *)", use it to select the agentx tools. MCP tools already share Claude Code's mcp__<server>__<tool> naming.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
func All() []string
All returns the Claude Code tool names that have an agentx counterpart, sorted.
func PatchPaths ¶
func PatchPaths(args json.RawMessage) []string
PatchPaths returns the files an apply_patch call, whose arguments are {"input": patch}, adds, updates, deletes or moves to. Like the tool's parser it accepts whitespace around the markers; it may report extra paths, for example from context lines that look like markers, but never misses one the tool would touch.
Types ¶
This section is empty.