append_text_file_contents
Append content to an existing text file with specified encoding using an absolute file path and hash for concurrency control. Ensures efficient file updates on the MCP server.
Instructions
Append content to an existing text file. The file must exist.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contents | Yes | Content to append to the file | |
encoding | No | Text encoding (default: 'utf-8') | utf-8 |
file_hash | Yes | Hash of the file contents for concurrency control. it should be matched with the file_hash when get_text_file_contents is called. | |
file_path | Yes | Path to the text file. File path must be absolute. |