Terminal Controller for MCP

by GongRzhe
Verified

insert_file_content

Insert specified content at precise row(s) in a file using exact row numbers or a list. Facilitates targeted file modifications through a secure terminal interface.

Instructions

Insert content at specific row(s) in a file Args: path: Path to the file content: Content to insert (string or JSON object) row: Row number to insert at (0-based, optional) rows: List of row numbers to insert at (0-based, optional) Returns: Operation result information

Input Schema

NameRequiredDescriptionDefault
contentYes
pathYes
rowNo
rowsNo

Input Schema (JSON Schema)

{ "properties": { "content": { "title": "Content", "type": "string" }, "path": { "title": "Path", "type": "string" }, "row": { "default": null, "title": "Row", "type": "integer" }, "rows": { "default": null, "items": {}, "title": "Rows", "type": "array" } }, "required": [ "path", "content" ], "title": "insert_file_contentArguments", "type": "object" }

You must be authenticated.

Other Tools from Terminal Controller for MCP

Related Tools

ID: i59xcpycnh