repo_read
Read the full UTF-8 contents of a single file in the configured repository’s working tree, including any branch, by supplying its repo-relative path; use repo_search first if the path is unknown.
Instructions
Return the full UTF-8 text of one file in the configured repo, as it is in the working tree of the current branch. Read-only; works on any branch. Use repo_search first when you do not know the path. Fails if the file does not exist.
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>"
},
"name": "repo_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Repo-relative file path (e.g. 'src/app.py'). Paths escaping the repo root or under deny_paths are refused. |