go_to_definition
Find the source file and line where a symbol is defined. Enter any symbol name to get its precise location and navigate directly to the definition.
Instructions
Find the source file and line where a symbol is defined. Returns an envelope with items, totalCount, truncated, and limit.
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": {
"symbol": "<symbol>"
},
"name": "go_to_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of items to return (default: 50). Items are sorted by file, then line. | |
| symbol | Yes | Symbol name: simple type (MyClass), fully qualified (Namespace.MyClass), or member (MyClass.DoWork) |