check_reuse
Verify whether a repository already provides a helper before writing a new one. Returns closest symbols with reuse, adapt, or write_new decisions plus house helpers and conventions.
Instructions
Optional, before writing a general-purpose function or helper your own search didn't find.
Describe what you are about to build in intent (e.g. "retry HTTP calls with exponential backoff");
optionally pass your draft in code. Returns the closest existing symbols, each with a decision:
reuse | adapt | write_new; the repo's own helpers for library calls the intent touches (house_helpers);
and project conventions. write_new means none of these few matches fits, not that the repo lacks it.
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": {
"intent": "<intent>"
},
"name": "check_reuse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| repo | No | ||
| intent | Yes |