Skip to content

EnterWorktreeOutput

Base classes

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

⋔ Inheritance diagram

graph TD
  3532402499["output_types.EnterWorktreeOutput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 3532402499
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

tool_use_result for the EnterWorktree tool.

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

    worktreePath: str
    """The path to the worktree."""
    worktreeBranch: NotRequired[str]
    """The branch of the worktree."""
    message: str
    """A message indicating the result of the operation."""

message instance-attribute

message: str

A message indicating the result of the operation.

worktreeBranch instance-attribute

worktreeBranch: NotRequired[str]

The branch of the worktree.

worktreePath instance-attribute

worktreePath: str

The path to the worktree.

:fa-brands-github: Show source on GitHub