review_style
Set, list, or clear per-workspace display rules that color literal or regex matches and attach hover or inline notes without editing files.
Instructions
Set, list or clear display rules: colouring and notes that change how files are SHOWN in the UI and never touch what they contain. A rule matches a literal or a regular expression in the files its scope globs select, then paints it (colour, background, bold, italic, underline, strike, dim), attaches a note to it (on hover or inline), or both. Use it when the user asks for something like "colour this nick blue", "give the text in <> a grey background", "dim the timestamps" or "on hover show how long since the previous line". Rules are per workspace and persist.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "review_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | Default set. | |
| ids | No | clear: the rules to remove. Omit to remove all of them. | |
| file | No | list: show only the rules that apply to this file. | |
| root | No | Absolute path of the workspace folder. Optional when only one workspace is open. | |
| rules | No | set: the rules to add or update. | |
| replace | No | set: drop every existing rule first (default false, which adds and updates). |