MCPcopy Create free account
hub / github.com/codehamr/codehamr / WriteFileSchema

Function WriteFileSchema

internal/tools/write.go:39–61  ·  view source on GitHub ↗

WriteFileSchema is the OpenAI tool definition for write_file. The description steers the model away from bash heredocs (shell-quoting failure mode) for small-to-medium writes, and toward heredoc appends for large files (streamed tool-call args truncate server-side), mirroring the system prompt's rul

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

buildToolsMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected