project_read_file
Read a cloud project file as UTF-8 text or base64 binary at the current revision, returning contents, encoding, and revision while downloading only the requested file.
Instructions
Read a cloud project file as UTF-8 text or base64-encoded binary data.
Returns {contents: str, encoding: str, revision: str}. Downloads only the requested file from the current content revision. Generated previews such as thumbnail.png can change within that revision. Default total project limit: 256 MiB.
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": "project_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| encoding | No | utf-8 | |
| project_id | Yes | ||
| max_project_bytes | No |