setEditorDecorations
Apply grouped visual highlights and inline messages to specific lines in a file. Replace all decorations for a group with each call.
Instructions
Place visual decorations (highlights, inline text) on file lines. Grouped by ID; replaces on each call.
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": {
"id": "<id>",
"file": "<file>",
"decorations": "<decorations>"
},
"name": "setEditorDecorations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Group name for decorations (alphanumeric + hyphens) | |
| file | Yes | Absolute path to the file to decorate | |
| decorations | Yes | Decorations to apply |