highlight_text
Find and highlight specific text in a Word document by specifying the text, file path, and color. Supports case-sensitive matching.
Instructions
Highlight all occurrences of text with a specified color.
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>",
"search": "<search>"
},
"name": "highlight_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the .docx file | |
| search | Yes | Text to highlight | |
| color | No | Highlight color: yellow, green, cyan, magenta, blue, red, etc. | yellow |
| case_sensitive | No | Case-sensitive matching |