find_definitions
Look up and retrieve the definition, source lines, and exact code snippet for any function, class, or method in your workspace.
Instructions
Returns definition details, lines, and exact code snippet for a given function, class, or method name.
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": {
"symbolName": "<symbolName>"
},
"name": "find_definitions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbolName | Yes | The name of the class, function, variable, or method (e.g. "getUser" or "UserService.register"). |