update_control
Update a control by merging specified fields. Set a field to null to remove it.
Instructions
Merge fields into an existing control. Set a field to null to remove it.
Args: control_id: id of the control to edit. patch_json: Object of fields to merge, e.g. {"tint":"#FF0000","style":"ghost"}.
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": {
"control_id": "<control_id>",
"patch_json": "<patch_json>"
},
"name": "update_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| control_id | Yes | ||
| patch_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |