Delete Widget Metric
delete_widget_metricDelete a Lock Screen Widget metric. It disappears from list_widget_metrics, set_widget_metric_value calls with its key fail with Metric not found, and widgets showing it stop receiving new values. This cannot be undone through MCP; to rename a metric or change its format, use update_widget_metric instead. Returns success and the deleted metric's public_id.
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": {
"public_id": "<public_id>"
},
"name": "delete_widget_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| public_id | Yes | The metric's public_id, from list_widget_metrics or create_widget_metric. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| success | Yes | ||
| public_id | Yes |