Tool · Kimi Code · Moonshot AI

read

kimi-code/readRead · primarysourcechecked 2026-09-02
How this differs from most implementations
  • Default line cap1000vs 2000 in 6 of 7
  • Byte / char cap100 KBvs 50 KB in 3 of 5

Derived by comparing every recorded value against the other implementations of the same capability. Differing is not a defect unless the row is marked an invariant.

Observed · Read

compare all →
Output shape
Dedicated read toolreadsrc
Line numberingN + TABsrc
Output wrapperplainsrc
Limits
Default line cap1000src
Byte / char cap100 KBsrc
Per-line cap2000 charssrc
Whichever hits firstlines or bytessrc
Pagination
Offset base1-indexedsrc
Negative offset reads the tailyes (−1..−1000)src
Announces truncationinvariantholdssrc
wasTruncated plus truncatedLineNumbers.
Continuation hintwasTruncated + truncatedLineNumberssrc
Reports total lines?
Out-of-range offset?
Non-text
Binary content never enters context silentlyinvariant?
Binary files?
Imagesseparate read-mediasrc
PDFsread-mediasrc
Notebooks?
Giant single lineper-line capsrc
Errors
Missing path?
Path is a directory?
Empty file?
Non-vision model?
Correctness
Mixed line endingsrenders CR visiblysrc
Staleness check before writeinvariantfailssrc

Other tools in Kimi Code