read_repo_file
Read a file from a local repository by providing its relative path and optional character limit.
Instructions
Read a file from the configured local repository.
Args:
relative_path: Path relative to repo root, e.g. docs/index.md or zensical.toml
max_chars: Maximum characters to return (default 50000)
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": {
"relative_path": "<relative_path>"
},
"name": "read_repo_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relative_path | Yes | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |