VS Code webview: 'Unsupported content type: advisor_tool_result' / 'server_tool_use' for block types the CLI renders fine
Open 💬 0 comments Opened Jul 2, 2026 by elmoushy
The VS Code extension webview message renderer shows Unsupported content type: <type> for advisor_tool_result (0 handlers) and some server_tool_use blocks, which the terminal CLI renders correctly.
Extension: 2.1.198 (win32-x64). CLI: 2.1.198. OS: Windows 11. Official API, no proxy.
Fallback in webview/index.js:
E("div",{className:sx.unknownContent,children:["Unsupported content type: ",b("code",{children:e.content.type})]})
grep of webview bundle: advisor_tool_result -> 0 refs; server_tool_use -> partial. CLI binary has no such string and handles both types. Cosmetic (data intact); reproduces on latest so not fixed by updating. Expected: render these types like the CLI, or degrade gracefully instead of an error line.