getCodeLens
Retrieve code lens items for a file to see reference counts, run/debug buttons, and implementation counts from the language server.
Instructions
Code lens items for a file: ref counts, Run/Debug buttons, impl counts from language server.
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": {
"filePath": "<filePath>"
},
"name": "getCodeLens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Workspace or absolute file path |