2 genuinely different descriptions of this tool
Plain text · sha256 c5d31bd00109
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:
{
"$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"
}