read_org_file
Read a file from an organization repo's default branch without cloning; use repo and path inputs to list folder contents or identify likely paths when the target is missing.
Instructions
Read a file from an org repo's default branch (e.g. one find_similar returned), without cloning. repo: its name in the org (or owner/name); path: inside the repo. A folder (or "" for the root) lists what it holds; a path that isn't there names the likely ones.
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": {
"repo": "<repo>",
"path": "<path>"
},
"name": "read_org_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | ||
| path | Yes | ||
| repo | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |