game_ui_item_list
Manage items in ItemList or OptionButton UI nodes by getting, selecting, adding, removing, or clearing items using a node path.
Instructions
ItemList/OptionButton: get/select/add/remove items
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": {
"nodePath": "<nodePath>",
"action": "<action>"
},
"name": "game_ui_item_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Item text (for add) | |
| index | No | Item index | |
| action | Yes | Action: get_items, select, add, remove, clear | |
| nodePath | Yes | Path to ItemList/OptionButton |