setStyles
Apply inline CSS styles to any element using a CSS selector and style properties, enabling live editing and prototyping in the browser.
Instructions
Apply inline CSS to element. For live editing and prototyping.
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>",
"styles": "<styles>"
},
"name": "setStyles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| styles | Yes | CSS property name-value pairs | |
| selector | Yes | CSS selector |