Read 工具的 provider-visible tool_result(包括 is_error 和文本内容)是模型理解读取结果的唯一依据。本文约束 Read 在 warning、重复读取、preflight 失败、图片与普通文本读取时的模型可见形态,结构化输出与内部错误类型不在此收敛范围内。
file_unchanged 模型可见内容固定为:
Wasted call — file unchanged since your last Read. Refer to that earlier tool_result instead.<system-reminder>body</system-reminder>。这是 Read mapper 的专用路径,不替换全局 wrapSystemReminderForSource(...)。ReadInputSchema.parse(...) 的 custom issue,并抛出可恢复 ToolExecutionFailed,message 为 <tool_use_error>${issue.message}</tool_use_error>。<tool_use_error> 格式。read-tool-contract.test.ts 覆盖成功文本不追加旧版安全提醒、图片只含 media block、dedup 文案、Read warning 单行 wrapper、binary/device preflight 的 <tool_use_error>。