GitHub / warm
Search Code
Search code across repositories accessible to the authenticated user. Uses GitHub search syntax (e.g., "language:typescript repo:owner/name path:src").
Quick Start
aweb inspect github.search_code
aweb add github
aweb plan "use GitHub search code in an agent workflow"import Aweb, { Agent } from '@aweb/sdk';
const aweb = new Aweb({ apiKey: process.env.AWEB_API_KEY });
const agent = new Agent({ tools: aweb.tools });
agent.add('github');
const plan = await agent.plan('Use GitHub for this workflow');
const tool = await aweb.tools.inspect('github.search_code');
console.log(plan.nextAction);
console.log(tool.inputSchema);Tool Card
Tool idgithub.search_code
ProviderGitHub (github)
Tool namesearch_code
Activationwarm
Healthhealthy
Trust score1.00
Transportstreamable_http
Latencynot yet measured
Cost0
Requirements and Governance
Authoauth_2_1_pkce
Credentialsetup_required
Workspacerequired
Approvalnone
RiskREAD
Permissionsrepo, read:org, workflow, read
Credential setup/api/mcp-warehouse/credentials/github/init
Schemas
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "GitHub code search query"
},
"per_page": {
"type": "integer",
"description": "Results per page (default 30, max 100)"
},
"page": {
"type": "integer",
"description": "Page number (1-based)"
}
},
"required": [
"q"
],
"additionalProperties": false
}Examples
[
{
"objective": "Use GitHub search code in an agent workflow.",
"args": {
"q": "<q>",
"per_page": "<per_page>",
"page": "<page>"
}
}
]