find_symbol
Locate Python functions by full qualname or suffix and return matching module, line number, and test status, enabling coding agents to resolve symbols accurately.
Instructions
Look up functions by name. Accepts a full qualname ('shop.pricing.calculate_total') or a suffix ('calculate_total', 'pricing.calculate_total', 'PaymentProcessor.charge'). Returns {query, matches: [{qualname, module, lineno, is_test}]}.
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": "find_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |