For the complete documentation index, see llms.txt. This page is also available as Markdown.

Prompt and Session Arguments

Prompt flags apply to one prompt; session tags run after the whole flow completes or is cancelled.

Argument
Syntax
Scope
Description

Chat

<Display>

Prompt

Captures the next chat message.

Anvil

<a:Display>

Prompt

Opens an Anvil input.

Sign

<s:Display>

Prompt

Opens a Sign input.

Player UI

<p:Display> or <p:filter:Display>

Prompt

Selects an online player.

Dialog

<d:filter:Display>

Prompt

Opens a native Paper dialog.

Preset

<@id>

Prompt

Loads a prompt from presets.json.

Disable sanitation

-ds

Prompt

Preserves session input from the normal sanitizer.

Validation

-iv:<alias>

Prompt

Applies a configured validator.

Integer

-int

Prompt

Requires a signed 32-bit integer.

Nonblank string

-str

Prompt

Rejects blank input.

Title display

-t or -t:Main|Sub|ticks

Prompt

Shows an Adventure title before the prompt.

On completion

<!command>

Session

Runs an inline post-command after success.

On cancellation

<!!command>

Session

Runs an inline post-command after cancellation.

Delayed post-command

<!:ticks command>

Session

Delays an inline post-command.

Post-command preset

<!@id>

Session

Loads a post-command definition from presets.json.

Multiple prompt flags can be combined as whitespace-delimited tokens. Compound Dialog flags apply to the whole block, and every input row consumes its own answer index.

/example <d:choice[set,add]:Action && d:num[0,24]:Value -iv:request -t:"Request"> <!audit {0} {1} @console>

Last updated

Was this helpful?