x402_githubsearch_get_v1_code
Search GitHub repositories and source code by query, language, or star count to find relevant projects and snippets. Returns paginated results for code discovery, licensing, and dependency research.
Instructions
githubsearch — GitHub code/repo search API: find repos and code by query, language, stars. Free unauthenticated (60 req/hr). [GET /v1/code] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/code?q=x402%20payment&per_page=5
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "x402_githubsearch_get_v1_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for POST/PUT/PATCH/DELETE | |
| query | No | Query parameters, e.g. {base:'USD', quote:'EUR'} | |
| restart | No | Explicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete. | |
| operationId | No | Durable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments. |