Skip to content

ExitPlanModeOutput

Base classes

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

⋔ Inheritance diagram

graph TD
  2203560192["output_types.ExitPlanModeOutput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 2203560192
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

tool_use_result for the ExitPlanMode tool.

Source code in src/clawd_code_sdk/models/output_types.py
class ExitPlanModeOutput(TypedDict):
    """``tool_use_result`` for the ExitPlanMode tool."""

    plan: str | None
    """The plan that was presented to the user."""
    isAgent: bool
    filePath: NotRequired[str]
    """The file path where the plan was saved."""
    hasTaskTool: NotRequired[bool]
    """Whether the Task tool is available in the current context."""
    planWasEdited: NotRequired[bool]
    """Whether the plan was edited by the user."""
    awaitingLeaderApproval: NotRequired[bool]
    """When true, the teammate has sent a plan approval request to the team leader."""
    requestId: NotRequired[str]
    """Unique identifier for the plan approval request."""

awaitingLeaderApproval instance-attribute

awaitingLeaderApproval: NotRequired[bool]

When true, the teammate has sent a plan approval request to the team leader.

filePath instance-attribute

filePath: NotRequired[str]

The file path where the plan was saved.

hasTaskTool instance-attribute

hasTaskTool: NotRequired[bool]

Whether the Task tool is available in the current context.

plan instance-attribute

plan: str | None

The plan that was presented to the user.

planWasEdited instance-attribute

planWasEdited: NotRequired[bool]

Whether the plan was edited by the user.

requestId instance-attribute

requestId: NotRequired[str]

Unique identifier for the plan approval request.

:fa-brands-github: Show source on GitHub