MCP Terminal

by sichang824
MIT License
3
  • Apple
  • Linux

file_modify

Write or modify file content directly via MCP Terminal, supporting modes like overwrite, append, or insert. Specify filepath, content, and optional position for precise file editing.

Instructions

Writes content to a file

Input Schema

NameRequiredDescriptionDefault
contentYes
create_dirsNo
filepathYes
modeNooverwrite
positionNo

Input Schema (JSON Schema)

{ "$defs": { "WriteMode": { "description": "Enum representing different file writing modes.", "enum": [ "overwrite", "append", "insert" ], "title": "WriteMode", "type": "string" } }, "properties": { "content": { "title": "Content", "type": "string" }, "create_dirs": { "default": true, "title": "Create Dirs", "type": "boolean" }, "filepath": { "title": "Filepath", "type": "string" }, "mode": { "$ref": "#/$defs/WriteMode", "default": "overwrite" }, "position": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Position" } }, "required": [ "filepath", "content" ], "title": "file_modifyArguments", "type": "object" }

You must be authenticated.

Other Tools from MCP Terminal

Related Tools

    ID: j9u88p4d9r