genius.explain
Analyze why a code result ranked where it did. Get a full signal breakdown with per-factor scores for any GitHub search query.
Instructions
Explain why a code result ranked where it did. Full signal breakdown with per-factor scores.
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": {
"repo": "<repo>",
"path": "<path>",
"query": "<query>"
},
"name": "genius.explain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path within repository | |
| repo | Yes | Repository (owner/name) | |
| query | Yes | The search query to score against | |
| preset | No | battle_tested | |
| snippet | No | Code snippet to analyze (if available) | |
| language | No | Language of the code |