find_similar
Searches org GitHub/GitLab repos to find existing code implementing a feature before building. Provide a task and 2-4 literal code terms for parallel searches.
Instructions
Before building a feature, find where the org already implemented it (searches the org's repos on GitHub or GitLab; nothing is cloned). task: the feature in a sentence. terms: 2-4 short searches the existing code would literally contain — class or function names, SDK calls, library names, config keys, headers (e.g. ["RateLimiter", "X-RateLimit-Remaining", "express-rate-limit"]), not the request's own words. Each term is one search; they run at once. org: only when several orgs are configured.
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": {
"task": "<task>",
"terms": "<terms>"
},
"name": "find_similar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | ||
| task | Yes | ||
| terms | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |