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

Function getWriteToolDescription

src/tools/FileWriteTool/prompt.ts:10–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8}
9
10export function getWriteToolDescription(): string {
11 return `Writes a file to the local filesystem.
12
13Usage:
14- This tool will overwrite the existing file if there is one at the provided path.${getPreReadInstruction()}
15- Prefer the Edit tool for modifying existing files \u2014 it only sends the diff. Only use this tool to create new files or for complete rewrites.
16- NEVER create documentation files (*.md) or README files unless explicitly requested by the User.
17- Only use emojis if the user explicitly requests it. Avoid writing emojis to files unless asked.`
18}
19

Callers 1

promptFunction · 0.85

Calls 1

getPreReadInstructionFunction · 0.70

Tested by

no test coverage detected