game_ui_text
Read, write, append, clear, select, or apply BBCode to Godot LineEdit, TextEdit, and RichTextLabel text through a node path and a specified action.
Instructions
LineEdit/TextEdit/RichTextLabel text operations
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_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text content | |
| action | Yes | Action: get, set, append, clear, select, bbcode | |
| nodePath | Yes | Path to text control | |
| selectionTo | No | Selection end | |
| caretPosition | No | Caret column position | |
| selectionFrom | No | Selection start |