update_agent_custom_css
Replace an agent's customCSS field to style its chat widget. Pass the full merged CSS (existing plus new rules) or an empty string to clear all custom styles.
Instructions
Overwrite the agent's customCSS field with new CSS that styles the chat widget. IMPORTANT: this REPLACES the existing customCSS value — always pass the FULL merged CSS (existing + your new rules), not just the delta. Workflow: (1) call get_widget_css_styling_guide to load selectors + rules, (2) optionally call get_agent_custom_css to read what's already there, (3) generate the merged CSS following the guide, (4) call this tool to persist. Pass an empty string to clear all customCSS for the agent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | The agent ID whose customCSS field you want to overwrite | |
| customCSS | Yes | The full CSS to write to the agent.customCSS field. REPLACES the existing value entirely. Use an empty string to clear. |