Skip to content

SendFeedbackInput

Base classes

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

⋔ Inheritance diagram

graph TD
  2904929392["input_types.SendFeedbackInput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 2904929392
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Input for the SendFeedback tool.

Source code in src/clawd_code_sdk/models/input_types.py
@_extra_allow
class SendFeedbackInput(TypedDict):
    """Input for the SendFeedback tool."""

    type: Literal["bug", "idea", "missing_capability"]
    """What kind of feedback this is."""
    title: str
    """Short, specific one-line summary of the issue."""
    details: str
    """Labeled bullets, in order: **What happened:** (observed vs.

    expected, exact error text if short); **What the user said:** (quoted, or "User didn't comment;
    observed by the model."); **Repro:** (minimal steps); **Evidence:** (request IDs, timestamps,
    paths, versions; omit if none); optionally a final **Cause:** only if verified in-session. One
    to three lines per bullet. No narrative paragraphs, no speculation, no secrets.
    """
    area: NotRequired[str]
    """Optional short tag naming the part of Claude Code this is about (e.g.

    "hooks config", "/help", "file editing"). Leave blank if unclear.
    """
    failure_mode: NotRequired[
        Literal[
            "instruction_following",
            "destructive_actions",
            "code_quality",
            "repetition_and_looping",
            "model_regression",
            "overconfidence_and_hallucination",
            "context_and_memory",
            "overeager",
            "over_correction",
            "stopping_short",
            "dispute_or_decline",
            "subagent_overspawn",
            "tone_or_preachiness",
            "excessive_questions",
            "unwanted_scope",
            "other",
        ]
    ]
    """When the report is about MODEL BEHAVIOR (not a product bug), the closest failure mode, or
    `other` when it is a model-behavior issue that fits no listed value.

    Omit only when the report is a product/tool bug with no model-behavior component.
    """
    task_category: NotRequired[
        Literal["code_edit", "debug", "explain", "plan", "shell", "search", "review", "other"]
    ]
    """What kind of task the session was doing when the issue occurred, or `other` when it is a
    clear task that fits no listed value.

    Omit only if genuinely unclear.
    """

area instance-attribute

area: NotRequired[str]

Optional short tag naming the part of Claude Code this is about (e.g.

"hooks config", "/help", "file editing"). Leave blank if unclear.

details instance-attribute

details: str

Labeled bullets, in order: What happened: (observed vs.

expected, exact error text if short); What the user said: (quoted, or "User didn't comment; observed by the model."); Repro: (minimal steps); Evidence: (request IDs, timestamps, paths, versions; omit if none); optionally a final Cause: only if verified in-session. One to three lines per bullet. No narrative paragraphs, no speculation, no secrets.

failure_mode instance-attribute

failure_mode: NotRequired[
    Literal[
        "instruction_following",
        "destructive_actions",
        "code_quality",
        "repetition_and_looping",
        "model_regression",
        "overconfidence_and_hallucination",
        "context_and_memory",
        "overeager",
        "over_correction",
        "stopping_short",
        "dispute_or_decline",
        "subagent_overspawn",
        "tone_or_preachiness",
        "excessive_questions",
        "unwanted_scope",
        "other",
    ]
]

When the report is about MODEL BEHAVIOR (not a product bug), the closest failure mode, or other when it is a model-behavior issue that fits no listed value.

Omit only when the report is a product/tool bug with no model-behavior component.

task_category instance-attribute

task_category: NotRequired[
    Literal["code_edit", "debug", "explain", "plan", "shell", "search", "review", "other"]
]

What kind of task the session was doing when the issue occurred, or other when it is a clear task that fits no listed value.

Omit only if genuinely unclear.

title instance-attribute

title: str

Short, specific one-line summary of the issue.

type instance-attribute

type: Literal['bug', 'idea', 'missing_capability']

What kind of feedback this is.

:fa-brands-github: Show source on GitHub