read_file
Read PDF, TXT, DOCX, MD, and JSON files with metadata to extract document content for analysis. Use file_path to access files through MCP Filesystem Server.
Instructions
Read PDF, TXT, DOCX, MD, JSON files with rich metadata
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the file to read |