set_input_text
Sets a Unity UI input field's text and commits it through its callback, so panels react as if a user typed and submitted. Use in PlayMode during final verification.
Instructions
set_input_text tool. Write op. Sets an PROJECT_UI input field's text and commits it.
Resolves the input node (panel uid + refKey OR path), sets its settable .text,
calls ActivateInputField(), then fires the field's PROJECT_COMMIT_TEXT callback (if any) so
the panel reacts as if the user typed and committed. Does NOT synthesize per-key
device events (unreliable for TMP/UGUI input fields under the new Input System).
PlayMode-only.
FINAL-VERIFICATION ROLE: when the user's repro steps involve typing into a field, set it here during final verification, then capture_screenshot to evidence the result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| text | Yes | ||
| ref_key | No | ||
| panel_uid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||