hover
Retrieves type and declaration information for a symbol at a specific line in a SystemVerilog file, helping you understand what an identifier is and where it is defined.
Instructions
Show type/declaration info for symbol on line of file.
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": {
"file": "<file>",
"line": "<line>",
"symbol": "<symbol>"
},
"name": "hover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | SystemVerilog file path, absolute or relative to the workspace root | |
| line | Yes | 1-based line number | |
| symbol | Yes | Symbol text as written on that line | |
| occurrence | No | Which occurrence on the line, if the symbol appears more than once (default 1) |