get_binary_file
Read a binary file from an allowed GitHub repository and return it as base64 (max 10 MB), while applying path denylists and size limits.
Instructions
Read a file from a repo and return it as base64 (max 10 MB). Denied paths still apply; reads are not rate-limited.
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>",
"path": "<path>"
},
"name": "get_binary_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| repo | Yes | ||
| owner | Yes | ||
| branch | No |