AiDD MCP Server

read_file

Access and retrieve the complete contents of a file from the file system. Supports multiple text encodings and provides clear error messages for troubleshooting. Use this to inspect files within the allowed directory.

Instructions

Read the complete contents of a file from the file system. Handles various text encodings and provides detailed error messages if the file cannot be read. Use this tool when you need to examine the contents of a single file. Only works within the allowed directory.Example: Enter 'src/main.py' to read a Python file.

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the file to read

Input Schema (JSON Schema)

{ "properties": { "path": { "description": "Path to the file to read", "type": "string" } }, "required": [ "path" ], "type": "object" }
ID: mpixtij6se