tool-images · git:20261004.4bb7222 · 2026-10-04 · sha256 8dcdf8586b8fc715
tool-images git:20261004.4bb7222A
Immutable. This exact content never changes and is served at /api/v1/blob/8dcdf8586b8fc715.
--- description: Tool-owned image persistence and provider projection globs: - "internal/agent/tool_images.go" - "internal/session/tool_images.go" - "internal/tools/fs/**/*" - "internal/llm/**/*" - "external/httpserver/**/*image*" - "external/gateway/telegram/pictures.go" alwaysApply: false --- # Tool images - An image read by a tool stays `role:tool` through `ImageParts`; never turn it into a synthetic user message. - Provider projection may combine images later, but persisted history retains tool ownership. - Read a copied session asset only while its digest matches; never reread the original arbitrary path. - Prompt and tool images share one selection policy, with newer images preferred. - Non-multimodal models receive no image parts. - Surfaces render `_meta.coddy.images`; there is no preview configuration switch.