Read file
code_readRead a file: text as content (a range of lines with offset and limit), a binary file as base64, with its revisionId.
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>",
"org": "<org>"
},
"name": "code_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | slug of the organization whose trees and sites to use. Required on every call, even when only one organization is listed; a path never names it. | |
| path | Yes | The file's address, <tree>:<path>. | |
| limit | No | At most this many lines. | |
| offset | No | The first line, counting from 1. | |
| changeId | No | The file as of this change. |