Skip to content

ProposeGoalOutput

Base classes

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

⋔ Inheritance diagram

graph TD
  2286504211["output_types.ProposeGoalOutput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 2286504211
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Output of the ProposeGoal tool.

Source code in src/clawd_code_sdk/models/output_types.py
class ProposeGoalOutput(TypedDict):
    """Output of the ProposeGoal tool."""

    condition: str
    """The condition shown to the user for approval, or set directly when ask_user was false"""
    askUser: bool
    """Whether the user was asked for approval (true) or the goal was set directly (false)"""

askUser instance-attribute

askUser: bool

Whether the user was asked for approval (true) or the goal was set directly (false)

condition instance-attribute

condition: str

The condition shown to the user for approval, or set directly when ask_user was false

:fa-brands-github: Show source on GitHub