Skip to content

AskUserQuestionOption

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  3972317134["input_types.AskUserQuestionOption"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 3972317134
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

A single option for a user question.

Source code in src/clawd_code_sdk/models/input_types.py
@_extra_allow
class AskUserQuestionOption(TypedDict):
    """A single option for a user question."""

    label: str
    """Display text for this option (1-5 words)."""
    description: str
    """Explanation of what this option means."""
    preview: NotRequired[str]
    """Optional preview content rendered when this option is focused."""

description instance-attribute

description: str

Explanation of what this option means.

label instance-attribute

label: str

Display text for this option (1-5 words).

preview instance-attribute

preview: NotRequired[str]

Optional preview content rendered when this option is focused.

:fa-brands-github: Show source on GitHub