Skip to content

TaskCreateTask

Base classes

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

⋔ Inheritance diagram

graph TD
  1593793689["output_types.TaskCreateTask"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 1593793689
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

task entry of TaskCreate.

Source code in src/clawd_code_sdk/models/output_types.py
class TaskCreateTask(TypedDict):
    """``task`` entry of TaskCreate."""

    id: str
    subject: str
    description: NotRequired[str]
    """The task's description as saved.

    It can differ from the tool_use input if Claude Code corrects a malformed call or a PreToolUse
    hook changes the input. Absent in results from older Claude Code versions.
    """

description instance-attribute

description: NotRequired[str]

The task's description as saved.

It can differ from the tool_use input if Claude Code corrects a malformed call or a PreToolUse hook changes the input. Absent in results from older Claude Code versions.

:fa-brands-github: Show source on GitHub