fetch_tool
Clones a GitHub repository into ./tools-cache for inspection: accepts an owner/repo string, a github.com URL, or a catalog name, and can report clone status. It only clones, nothing is built or run.
Instructions
Shallow-clone a GitHub repository (from the catalog, 'owner/repo' or a github.com URL) into ./tools-cache. Clone only: nothing is built or executed.
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_or_query": "<repo_or_query>"
},
"name": "fetch_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | clone | |
| repo_or_query | Yes | 'owner/repo', a https://github.com/... URL, or a catalog name |