MCPcopy Create free account
hub / github.com/anthropics/claude-code / edit

Function edit

mods/diff/tests/register.test.ts:172–178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170 }
171
172 const edit = () =>
173 $.tool.call({
174 tool: 'Edit',
175 file_path: '/work/app.ts',
176 old_string: '1',
177 new_string: '2',
178 })
179
180 on('tool.call', () => ({ result: 'done' }))
181 on('turn.complete', ($, e) => ({ text: e.answer }))

Callers 1

register.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected