github_get_readme
Fetch a repository's README markdown with caching and optional distillation, controlling output length to fit context constraints.
Instructions
Fetch the README markdown for a repository with semantic distillation, ETag caching (24h TTL), and context budget controls.
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": {
"owner": "<owner>",
"repo": "<repo>"
},
"name": "github_get_readme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name (e.g. 'astral'). | |
| owner | Yes | Repository owner (e.g. 'astralapp'). | |
| distill | No | Strip badges and HTML noise to save tokens (default: true). | |
| profile | No | Context window profile. Default is 'standard'. | |
| refresh | No | Bypass cache and fetch fresh README from GitHub. | |
| max_chars | No | Maximum number of characters to return. |