Write tool description
SDK-CLI Agent SDK, print mode, v2.1.248. The text the model is given for this tool, line by line, with each line marked against the previous capture taken the same way. One model string produces this prompt.
As described in the system reminder: hook pretool block request, not the ordinary one.
This tool has no description in the capture before this one on this arm, so the left gutter is empty rather than marking every line as new.
The description, rendered
This renders the markdown inside the description, so it isn’t quite the description itself.The raw view and the plain text are the bytes as they were sent.
Writes a file to the local filesystem, overwriting if one exists.
When to use: creating a new file, or fully replacing one you've already Read. Overwriting an existing file you haven't Read will fail. For partial changes, use Edit instead.
What it accepts
2 parameters The JSON parameter schema sent beside this description, 408 characters of it. Name, type, then whether the client marked it required.content
string
required
The content to write to the file
file_path
string
required
The absolute path to the file to write (must be absolute, not relative)
sha256 7369ad28cd66 · the schema as the client sent it: