get_theme_colors
Retrieve named color slots from a Word document's theme file, returning a mapping of slot names to hex color codes.
Instructions
Return the named color slots from word/theme/theme1.xml.
Returns a dict mapping slot names (dk1, lt1, accent1, ...) to 6-digit hex strings. Returns an empty dict if the document has no theme file.
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": "get_theme_colors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |