Tool · Kimi Code · Moonshot AI

read

kimi-code/readRead · primarysourcechecked 2026-09-02
What matters here1 of 3 invariants hold · 1 fails · 1 unverified

The facts the registry marks decision-changing, with how the other implementations answered. An invariant may be shown as pass/fail; a design choice never is, however unusual it looks.

How this differs from most implementations

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.

Description, as the model sees it

Not recorded yet — the verbatim description has not been captured for this tool.

Registered schema

Not recorded yet — the schema as registered has not been captured for this tool.

Observed · Read

compare all →
FactThis toolAcross all implementations
Output shape3 of 3 recorded
Dedicated read toolreadsrc
Line numberingN + TABsrclike 2 of 7N: ×2 · none ×2 +12 unverified
Output wrapperplainsrclike 6 of 9<path>/<type>/<content> ×2 · raw stdout ×1
Limits4 of 4 recorded
Default line cap1000srconly one of 82000 ×6 · none ×11 unverified
Byte / char cap100 KBsrconly one of 650 KB ×3 · 100k chars (not lines) ×1 +12 unverified
Per-line cap2000 charssrclike 4 of 5none ×12 unverified
Whichever hits firstlines or bytessrclike 4 of 6chars ×1 · lines ×12 unverified
Pagination4 of 6 recorded
Offset base1-indexedsrclike 7 of 80-indexed ×1
Negative offset reads the tailyes (−1..−1000)srconly one of 1
Announces truncationinvariantholdssrc
wasTruncated plus truncatedLineNumbers.
all 7 hold1 unverified
Continuation hintwasTruncated + truncatedLineNumberssrconly one of 7(Showing X-Y of N. Use offset=Z) ×2 · (truncated) ×1 +31 unverified
Reports total lines?4 others recordedyes ×2 · linesShown[] ×1 +14 unverified
Out-of-range offset?2 others recordedexplicit error w/ line count ×26 unverified
Non-text3 of 6 recorded
Binary content never enters context silentlyinvariant?4 of 5 holdtrue ×4 · false ×14 unverified
Binary files?5 others recordederror: Cannot read binary file ×2 · raw bytes into context ×1 +24 unverified
Imagesseparate read-mediasrconly one of 9attachment (jpeg/png/gif/webp) ×1 · attachment + mime sniff ×1 +6
PDFsread-mediasrconly one of 5attachment ×2 · page ranges + continuation ×1 +13 unverified
Notebooks?2 others recorded(notebook-edit tool) ×1 · cells + outputs ×16 unverified
Giant single lineper-line capsrclike 4 of 7char budget absorbs it ×1 · none ×1 +12 unverified
Errors0 of 4 recorded
Missing path?4 others recordedDid you mean one of these? ×2 · error ×1 +15 unverified
Path is a directory?4 others recordedlists entries ×2 · error ×1 +15 unverified
Empty file?2 others recordedempty stdout ×1 · explicit reminder ×17 unverified
Non-vision model?2 others recordedexplicit note in output ×1 · requires image-capable model ×15 unverified
Correctness2 of 2 recorded
Mixed line endingsrenders CR visiblysrconly one of 2raw ×17 unverified
Staleness check before writeinvariantfailssrc3 of 9 holdtrue ×3

Other tools in Kimi Code

names verbatim, as registered