append_to_file
Add specified content to the end of a file, optionally inserting a newline before appending. Supports file management within the Enhanced Directory Context MCP Server.
Instructions
Append content to the end of a file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Content to append | |
newline_before | No | Add newline before appending | |
path | Yes | File path relative to working directory |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"description": "Content to append",
"type": "string"
},
"newline_before": {
"default": true,
"description": "Add newline before appending",
"type": "boolean"
},
"path": {
"description": "File path relative to working directory",
"type": "string"
}
},
"required": [
"path",
"content"
],
"type": "object"
}