get_theme_colors
Extract named color slots from Word document theme (theme1.xml) as a dict mapping slot names to hex strings. Returns empty dict if no theme file is present.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |