similar
Find and rank symbols similar to a target by name, signature, and package. Use to discover peer functions for code reuse.
Instructions
Similar-implementation search for ONE symbol: ranks other symbols whose name, signature, and package resemble the target. Use when you found one function and want peers to extend/copy — distinct from scout (task-oriented reuse) and find_implementations (Go interface satisfaction).
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": {
"name": "<name>"
},
"name": "similar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Symbol name to find similar implementations for | |
| repo | No | Repository name | |
| top_k | No | Max similar symbols (default 8) | |
| format | No | Response text encoding: toon (default) | json |