Append to a file
append_fileAppend text to the end of a file, creating the file and any missing parent folders if they do not exist. Use it to add content without rewriting existing data.
Instructions
Appends text to the end of a file, creating it if needed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"content": "<content>"
},
"name": "append_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path | |
| content | Yes | Text to append | |
| create_parents | No | Create missing parent folders |