Terminal Controller for MCP

by GongRzhe
Verified

read_file

Extract content from a file with options to select specific rows or parse as JSON, enabling targeted data retrieval and processing in the Terminal Controller for MCP.

Instructions

Read content from a file with optional row selection Args: path: Path to the file start_row: Starting row to read from (0-based, optional) end_row: Ending row to read to (0-based, inclusive, optional) as_json: If True, attempt to parse file content as JSON (optional) Returns: File content or selected lines, optionally parsed as JSON

Input Schema

NameRequiredDescriptionDefault
as_jsonNo
end_rowNo
pathYes
start_rowNo

Input Schema (JSON Schema)

{ "properties": { "as_json": { "default": false, "title": "As Json", "type": "boolean" }, "end_row": { "default": null, "title": "End Row", "type": "integer" }, "path": { "title": "Path", "type": "string" }, "start_row": { "default": null, "title": "Start Row", "type": "integer" } }, "required": [ "path" ], "title": "read_fileArguments", "type": "object" }

You must be authenticated.

Other Tools from Terminal Controller for MCP

Related Tools

ID: i59xcpycnh