GitHub issue #13922 in cline/cline, created 2026-09-07 by braindamp and titled "[BUG] read_files tool description says "text or image files" which will cause a CLI error when the model does not have vision capability, since the model gets instructed to use the tool to watch images.", reports that the read_files tool's description tells the model it can read image files, but if the primary model used by the CLI has no image capability, when the agent follows the tool description and calls read_files on an image (e.g. .png), the call fails hard and can destroy the whole session (all context lost). The report is filed against Cline 3.0.60 on Windows, CLI surface, with provider/model glm-5.3-free, and gives as steps to reproduce asking a model without vision capability to watch an image.
Verbatim Excerpts from Cited Records
“The `read_files` tool's `description` tells the model it can read image files ("Read the content of **text or image files** at the provided absolute paths...").”
·
cline/cline (issue 13922 opening body, What happened section, first sentence (line break as in source))
·
2026-09-07T15:52:51Z
·GitHub Issue ↗
“But if the primary model used by the CLI has no image capability,”
·
cline/cline (issue 13922 opening body, What happened section, second sentence first line)
·
2026-09-07T15:52:51Z
·GitHub Issue ↗
“when the agent follows the tool description and calls `read_files` on an image (e.g. `.png`), the call fails hard and can destroy the whole session (all context lost).”
·
cline/cline (issue 13922 opening body, What happened section, second sentence remainder (line breaks as in source))
·
2026-09-07T15:52:51Z
·GitHub Issue ↗
“1.ask model without vision capability, to watch an image”
·
cline/cline (issue 13922 opening body, Steps to reproduce section)
·
2026-09-07T15:52:51Z
·GitHub Issue ↗
Counter-record: Issue remains open as of 2026-12-03 (last updated 2026-12-02T01:41:01Z) and carries the stale and CLI labels. 4 comments read in total. linear-code[bot] (2026-09-07) linked the report to CLINE-3195. xiaoguomeiyitian (2026-09-08) offered to pick it up, diagnosed the root cause as the read_files description being a static string saying "text or image files" while the built-in file-read executor throws "Current model does not support image input" when the model lacks image support, proposed making the description capability-aware, and later the same day posted that PR https://github.com/cline/cline/pull/13946 was ready for review, with the description wording resolved from the session's model info so a vision-less model sees "text files (image files cannot be read by the current model)", 66 tests passed, tsc and biome clean, and a first-time-contributor approval still needed for the integration workflows. github-actions[bot] (2026-12-02) marked the issue stale after 60 days with no activity. No maintainer merge or fix decision appears in the surveyed thread. The claim documents only the original report, not a verified current state.
Falsification probe: If GitHub issue #13922 is closed as fixed, as a duplicate, or as not planned, if the author edits the opening body so the quoted sentences no longer match verbatim, or if the author posts a retraction of the report, this claim drops to Withdrawn.
Audit verification: Verified 100% continuous verbatim substring against official GitHub REST API by
scripts/verify_claim_verbatim.py.