project_readFile
Read files from a Scaffold-ETH project using relative paths, excluding .env and files containing private keys.
Instructions
Read a file from the Scaffold-ETH project. Path should be relative to the project root. Cannot read .env files or files containing private keys.
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": "project_readFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path to the file (e.g., 'packages/foundry/contracts/YourContract.sol') |