replace_dashboard_card
Replace a specific card in a Lovelace dashboard view by view and card index to update layouts without hand-editing YAML.
Instructions
Replace a specific card within a view.
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": {
"url_path": "<url_path>",
"view_index": "<view_index>",
"card_index": "<card_index>",
"card": "<card>"
},
"name": "replace_dashboard_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes | ||
| url_path | Yes | ||
| card_index | Yes | ||
| view_index | Yes |