Read source files
read_filesRead exact current source files for an app created by deploy_files. Pass paths from list_files. Text is bounded and resumable with next_offset; binary content is never returned.
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>",
"paths": "<paths>"
},
"name": "read_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | one to fifty exact relative file paths returned by list_files | |
| offset | No | byte offset for continuing one truncated file; only valid with a single path | |
| project_id | Yes | the managed project id (from list_projects) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| commit | Yes | ||
| project_id | Yes |