read_file
Reads file contents from a local path, enabling access to research documents and materials for academic paper preparation.
Instructions
Read a text file at any local path on the machine this server runs on.
For a client that has no local filesystem access of its own (e.g. a browser-based chat session reaching this server through a tunnel), this is how it reads research materials, main.tex, or anything else -- a client with its own file tools (Claude Code) can use those instead, but this must work the same way for clients that can't.
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": {
"path": "<path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |