Read file
read_fileA file's content with line numbers. Large files: ask for a line range.
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": {
"project_id": "<project_id>",
"path": "<path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | A path inside the project, such as index.html or js/game.js. | |
| end_line | No | ||
| project_id | Yes | The project's id, from list_projects or create_project. | |
| start_line | No |