lsp_resolve_code_action
Resolve a cached code action to preview and validate edits with an optional unified diff.
Instructions
Resolve a lazy code action from the cache and return a validated edit preview.
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": {
"actionId": "<actionId>"
},
"name": "lsp_resolve_code_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actionId | Yes | Cached action ID from lsp_code_actions_preview. | |
| includeDiff | No | Whether to include a unified diff. |