Skip to main content
Glama
GongRzhe

Terminal Controller for MCP

read_file

Extract content from a file by specifying a path, optional row range, and JSON parsing. Ideal for retrieving specific data segments or structured content in terminal operations.

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

TableJSON Schema
NameRequiredDescriptionDefault
as_jsonNo
end_rowNo
pathYes
start_rowNo

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GongRzhe/terminal-controller-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server