search_code
Search GitHub repositories to locate implementations of papers or libraries, optionally filtered by programming language.
Instructions
Search code repositories on GitHub, e.g. to find the implementation of a paper or a library. Optionally filter by programming language.
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": {
"query": "<query>"
},
"name": "search_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| language | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| results | No | ||
| sources_ok | No | ||
| sources_failed | No |