get_file
Fetch file contents from a GitHub repository to inspect code or docs; optionally return only a line range to keep context small.
Instructions
Fetch file contents from a GitHub repository. Optionally return only a line range to keep context small.
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": {
"full_name": "<full_name>",
"path": "<path>"
},
"name": "get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| why | No | Why this file helps the current task (stored in journal) | |
| path | Yes | ||
| task_id | No | ||
| end_line | No | ||
| full_name | Yes | ||
| start_line | No |