arsenal_get_snippet
Extract clean, runnable code snippets from a GitHub repository README without downloading the full file, reducing token use and giving AI agents ready-to-run examples.
Instructions
Extract clean, runnable code snippets directly from any GitHub repo README without downloading the whole README (saves 85% tokens).
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": {
"repo": "<repo>"
},
"name": "arsenal_get_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| max_blocks | No |