MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / resolveName

Method resolveName

src/tools/registry.ts:179–184  ·  view source on GitHub ↗

Resolve an incoming tool name to a registered one, applying aliases.

(name: string)

Source from the content-addressed store, hash-verified

177 cmd: 'shell',
178 // Edit/write aliases — models trained on Claude Code / Cursor / str_replace reach for
179 // these names; without the alias `edit_file` (etc.) hit "unknown tool" and burned a turn.
180 edit_file: 'edit_text',
181 edit: 'edit_text',
182 str_replace: 'edit_text',
183 str_replace_editor: 'edit_text',
184 str_replace_based_edit_tool: 'edit_text',
185 create_file: 'write_file',
186 view_file: 'read_file',
187 };

Callers 4

getMethod · 0.95
hasMethod · 0.95
executeMethod · 0.95
isReadOnlyMethod · 0.95

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected