search_code
Search across GitHub repositories for specific code snippets using customizable queries, pagination, and sorting to streamline development workflows.
Instructions
Search for code across GitHub repositories
Input Schema
Name | Required | Description | Default |
---|---|---|---|
order | No | ||
page | No | ||
per_page | No | ||
q | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"order": {
"enum": [
"asc",
"desc"
],
"type": "string"
},
"page": {
"minimum": 1,
"type": "number"
},
"per_page": {
"maximum": 100,
"minimum": 1,
"type": "number"
},
"q": {
"type": "string"
}
},
"required": [
"q"
],
"type": "object"
}