lsp_subtypes
Find subclasses, implementers, child interfaces, or subtypes using an item ID from the type hierarchy preparation.
Instructions
Find subclasses, implementers, child interfaces, or subtypes. Maps to typeHierarchy/subtypes.
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": {
"itemId": "<itemId>"
},
"name": "lsp_subtypes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | Opaque item ID from lsp_prepare_type_hierarchy. | |
| maxResults | No | Maximum number of results. |