inputTextRandom¶
Generate a unique random value — a prefix followed by random digits (e.g. “TBZ-481732”) — type it into the currently focused text field, and remember it under the variable name so later steps can reference it as {{variable}} / ${variable} (a search field, an assertVisibleWithText, etc.).
Use this to enter a fresh unique value (a name, note, order/ticket label) that a later step must recall to confirm the entity THIS run created rather than a leftover from a previous run. It generates and types in a single step with no LLM call, so it replays deterministically and never leaves the field empty. - NOTE: This does nothing unless an editable text field is focused. If the field isn’t focused, tap it first. - NOTE: After typing, the soft keyboard is dismissed by default (like inputText); pass hideKeyboardAfter=false to keep it.
Source¶
- Kind: class-backed
- Class:
xyz.block.trailblaze.toolcalls.commands.InputTextRandomTrailblazeTool
Contract¶
- Visible to LLM: yes (
surface_to_llm: true) - Recordable: yes (
is_recordable: true) - Host-only: no (
requires_host: false)
Input schema¶
Required parameters¶
variable—StringThe memory variable to store the generated value under (recall via {{variable}} / ${variable}).
Optional parameters¶
prefix—StringText placed before the random digits. Defaults to “TBZ-“.digitCount—IntegerHow many random decimal digits to append after the prefix. Defaults to 6.hideKeyboardAfter—Boolean
Output¶
Returns: string (opaque text content)
Typed result schemas (kind: query | action, MCP structuredContent) are not yet carried by the resolved manifest — this section will gain detail when that lands.