search
Search across repositories, code, issues, users, and organizations. Action 'all' returns hit counts across types; 'code' and 'repos' return paginated results with type-specific filters.
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": {
"action": "<action>",
"keyword": "<keyword>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Search mode: exact, union, fuzzy. Only for action=code | exact |
| page | No | Page number (1-based). Ignored for action=all | |
| limit | No | Page size. Ignored for action=all | |
| action | Yes | Search scope to query | all |
| keyword | Yes | Search query | |
| filename | No | Filter by filename or path. Only for action=code | |
| language | No | Filter by programming language. Only for action=code |