CLI: model narrates a "side panel" that doesn't exist in the terminal when sending files

Status Open
Maintainer reply None cached
Activity 0 comments · opened Aug 12, 2026

Description

When Claude sends a file to the user (the harness's send-user-file capability with display: 'render'), the model-facing tool description says the file "opens inline in the side panel." That is only true in the desktop/web app. In the terminal CLI there is no side panel, so the model confidently narrates UI the user cannot see (e.g. "the page is rendered in the side panel"), which is confusing.

Steps to reproduce

  1. In the terminal CLI, ask Claude to build an HTML file and show it to you.
  2. Claude calls the send-file tool with display: 'render' and writes a caption/summary referring to the side panel.
  3. The terminal shows only a file card/path — no inline render, no panel.

Expected behavior

Either the tool description should be surfaced per-client (so in the CLI the model is told the file appears as an attachment/path, not an inline render), or the harness should tell the model which client it is talking to so it doesn't reference UI affordances that aren't present.

Environment

  • Claude Code CLI in a terminal (macOS, Darwin 25.5.0)
  • Model: claude-fable-5

🤖 Generated with Claude Code

https://claude.ai/code/session_01JQm1xJRdjABKCMHyoBAe8x

View original on GitHub ↗