Skip to content

SkillOutput

Base classes

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

⋔ Inheritance diagram

graph TD
  3286069524["output_types.SkillOutput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 3286069524
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

tool_use_result for the Skill tool.

Not part of the official SDK ToolOutputSchemas as of SDK v0.2.62. Shape derived from empirical testing.

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

    Not part of the official SDK ToolOutputSchemas as of SDK v0.2.62.
    Shape derived from empirical testing.
    """

    success: bool
    """Whether the skill was invoked successfully."""
    commandName: str
    """The name of the skill that was invoked."""
    allowedTools: list[ToolName | str]
    """Tools that the skill is allowed to use."""

allowedTools instance-attribute

allowedTools: list[ToolName | str]

Tools that the skill is allowed to use.

commandName instance-attribute

commandName: str

The name of the skill that was invoked.

success instance-attribute

success: bool

Whether the skill was invoked successfully.

:fa-brands-github: Show source on GitHub