find_code_definitions
Find function, class, and method definitions in source code files. Specify file path, definition type, and programming language to locate symbols.
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": {
"path": "<path>"
},
"name": "find_code_definitions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File or directory path | |
| language | No | Programming language (typescript, javascript, java, python) | |
| definition_type | No | Type of definition to find |