getInlayHints
Get inline type annotations and parameter name hints for a given line range in a file. Supports languages like TypeScript and Rust.
Instructions
Inlay hints (inline type annotations, param names) for a line range. e.g. TS types, Rust lifetimes.
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>",
"startLine": "<startLine>",
"endLine": "<endLine>"
},
"name": "getInlayHints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Workspace or absolute path | |
| endLine | Yes | Last line (1-based, inclusive) | |
| startLine | Yes | First line (1-based) |