insert_example
Insert a documented control example into the buffer with a new ID and grid slot. Browse available examples and specify position or let it auto-place.
Instructions
Drop a documented control example straight into the buffer, with a fresh id and a free grid slot. Browse with list_control_examples, then place one here.
Args: control_id: Control type or doc node-id (e.g. 'gauge'). name: Example name (prefix match); omit for the first example. tab_index: Which tab to add to. position: Optional [row, col]; omit to auto-place.
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>"
},
"name": "insert_example"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| position | No | ||
| tab_index | No | ||
| control_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |