update_code_widget
Modifies an existing code widget on a Miro board by updating its code, language, title, position, parent frame, or line-number visibility.
Instructions
Update a code widget. EXPERIMENTAL.
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": {
"board_id": "<board_id>",
"item_id": "<item_id>"
},
"name": "update_code_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| code | No | ||
| title | No | ||
| item_id | Yes | ||
| board_id | Yes | ||
| language | No | ||
| parent_frame_id | No | ||
| line_numbers_visible | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |