MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getPreReadInstruction

Function getPreReadInstruction

src/tools/FileEditTool/prompt.ts:4–6  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import { FILE_READ_TOOL_NAME } from '../FileReadTool/prompt.js'
3
4function getPreReadInstruction(): string {
5 return `\n- You must use your \`${FILE_READ_TOOL_NAME}\` tool at least once in the conversation before editing. This tool will error if you attempt an edit without reading the file. `
6}
7
8export function getEditToolDescription(): string {
9 return getDefaultEditDescription()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected