Claude Code MCP

readFile

Read a file from the local filesystem

Input Schema

NameRequiredDescriptionDefault
file_pathYesThe absolute path to the file to read
limitNoThe number of lines to read
offsetNoThe line number to start reading from

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "file_path": { "description": "The absolute path to the file to read", "type": "string" }, "limit": { "description": "The number of lines to read", "type": "number" }, "offset": { "description": "The line number to start reading from", "type": "number" } }, "required": [ "file_path" ], "type": "object" }