css_set_property
Set a CSS property value on an element live. Specify selector, property, and value to apply style changes without reloading.
Instructions
Set a CSS property value on an element (live modification)
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": {
"selector": "<selector>",
"property": "<property>",
"value": "<value>"
},
"name": "css_set_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | CSS property value (e.g. red, 16px) | |
| property | Yes | CSS property name (e.g. color, font-size) | |
| selector | Yes | CSS selector for the element |