word_highlight_text
Search a Word document for specified text and apply highlight colors to matching paragraphs. Provide search terms and colors to visually annotate key sections.
Instructions
Search for text and apply a highlight color to matching paragraphs
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_path": "<file_path>",
"edits": "<edits>"
},
"name": "word_highlight_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edits | Yes | List of search terms and the highlight color to apply to each | |
| file_path | Yes | Absolute path to the .docx file | |
| case_sensitive | No | Match case exactly (default: false) |