Skip to content

ReadTextOutput

Base classes

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

⋔ Inheritance diagram

graph TD
  2718790720["output_types.ReadTextOutput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 2718790720
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

tool_use_result for the Read tool (text files).

Source code in src/clawd_code_sdk/models/output_types.py
class ReadTextOutput(TypedDict):
    """``tool_use_result`` for the Read tool (text files)."""

    type: Literal["text"]
    file: ReadFileInfo
    artifactRead: NotRequired[ArtifactReadMarker]
    """Set when the read file is an artifact that now counts as viewed."""

artifactRead instance-attribute

artifactRead: NotRequired[ArtifactReadMarker]

Set when the read file is an artifact that now counts as viewed.

:fa-brands-github: Show source on GitHub