FileReadInput
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| dict builtins dict() -> new empty dictionary |
|
⋔ Inheritance diagram¶
graph TD
1221746708["input_types.FileReadInput"]
2645524081["builtins.dict"]
2751680898["builtins.object"]
2645524081 --> 1221746708
2751680898 --> 2645524081
🛈 DocStrings¶
Bases: TypedDict
Input for the Read tool. Reads files including text, images, PDFs, and notebooks.
Source code in src/clawd_code_sdk/models/input_types.py
allow_large
instance-attribute
¶
Read a text file (or line range) that is over the usual size limits.
limit
instance-attribute
¶
The number of lines to read. Only provide if the file is too large to read at once
offset
instance-attribute
¶
The line number to start reading from.
Only provide if the file is too large to read at once.
pages
instance-attribute
¶
Page range for PDF files (e.g., "1-5", "3", "10-20"). Only applicable to PDF files.
Maximum 20 pages per request.