read_file
Retrieve file contents from the project path, with max bytes optional. Legacy tool; use artifact_read instead.
Instructions
Deprecated: use artifact_read.
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 | ||
| max_bytes | No | ||
| project_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| run | No | ||
| data | No | ||
| error | No | ||
| warnings | No |