search_code
Search for code across GitHub repositories
Purpose
This skill provides access to the MCP tool search_code. It allows you to search for code across github repositories.
Parameters
The tool accepts the following parameters:
q
Required
- Type:
string - Description: No description provided
order
Optional
- Type:
string - Description: No description provided
- Allowed values: asc, desc
page
Optional
- Type:
number - Description: No description provided
per_page
Optional
- Type:
number - Description: No description provided
Usage Instructions
To use this tool:
- Prepare the parameters according to the schema above
- Invoke the MCP tool
search_codewith the prepared parameters - Process the result returned by the tool
Example
{
"q": "example_value",
"order": "example_value",
"page": 123,
"per_page": 123
}
Notes
- This skill requires an active MCP connection to the server providing the
search_codetool - Ensure the MCP server is properly configured and running before attempting to use this tool
- Review the parameter requirements carefully to avoid errors