write_file
Save or append content to a file by specifying its path and write mode using the Terminal Controller for MCP. Ideal for structured file updates or data logging tasks.
Instructions
Write content to a file
Args:
path: Path to the file
content: Content to write (string or JSON object)
mode: Write mode ('overwrite' or 'append')
Returns:
Operation result information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | ||
mode | No | overwrite | |
path | Yes |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"title": "Content",
"type": "string"
},
"mode": {
"default": "overwrite",
"title": "Mode",
"type": "string"
},
"path": {
"title": "Path",
"type": "string"
}
},
"required": [
"path",
"content"
],
"title": "write_fileArguments",
"type": "object"
}