Find existing code to reuse
find_existingSearch existing functions, classes and methods by what they do (e.g. "format currency"). Use before writing a new helper.
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": {
"query": "<query>",
"repository": "<repository>"
},
"name": "find_existing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What the code should do. | |
| repository | Yes | Public GitHub repository as "owner/name" (e.g. "pallets/flask") or its github.com URL. |