2 genuinely different descriptions of this tool
Plain text · sha256 70103362310e
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.
Usage:
- This tool will overwrite the existing file if there is one at the provided path.
- If this is an existing file, you MUST use the Read tool first to read the file's contents. This tool will fail if you did not read the file first.
- Prefer the Edit tool for modifying existing files — it only sends the diff. Only use this tool to create new files or for complete rewrites.
- NEVER create documentation files (*.md) or README files unless explicitly requested by the User.
- Only use emojis if the user explicitly requests it. Avoid writing emojis to files unless asked.
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:
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"content": {
"description": "The content to write to the file",
"type": "string"
},
"file_path": {
"description": "The absolute path to the file to write (must be absolute, not relative)",
"type": "string"
}
},
"required": [
"file_path",
"content"
],
"type": "object"
}