Read File
read_fileReads the contents of a file from the file system by specifying its full path. Useful for viewing source code or configuration files.
Instructions
Reads the contents of a mock file from the file system. Specify the full path like '/project/src/server.ts'.
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 | Full file path to read, e.g. '/project/package.json' |