Skip to content

ReadPartsOutput

Base classes

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

⋔ Inheritance diagram

graph TD
  3103320458["output_types.ReadPartsOutput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 3103320458
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

tool_use_result for the Read tool (PDF parts extraction).

Source code in src/clawd_code_sdk/models/output_types.py
class ReadPartsOutput(TypedDict):
    """``tool_use_result`` for the Read tool (PDF parts extraction)."""

    type: Literal["parts"]
    file: ReadPartsFileInfo
    firstPage: NotRequired[int]
    """First page number included as page images in the model-facing tool_result."""
    pages: NotRequired[list[ReadPartsPage]]
    """Page images (only present transiently in-process, absent on emitted results)."""

firstPage instance-attribute

firstPage: NotRequired[int]

First page number included as page images in the model-facing tool_result.

pages instance-attribute

pages: NotRequired[list[ReadPartsPage]]

Page images (only present transiently in-process, absent on emitted results).

:fa-brands-github: Show source on GitHub