get_symbol
Retrieve the source code and line numbers for a function, method, or class, optionally targeting a specific overload with @LINE for precise code inspection.
Instructions
Source of one function, method or class, with line numbers. name: 'func', 'Class', 'Class.method', 'path/File.java:Class.method'; add '@LINE' to pick one overload, e.g. 'Cart.add@27'.
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": "get_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |