ToolImage
An image produced by a tool, sent over MCP as an image content block ({"type": "image", "data": <base64>, "mimeType": ...}). Created by ToolResult.withImage.
Constructors
Properties
Link copied to clipboard
The ToolResult.data key holding the same base64, which the MCP transport omits from the JSON so the image isn't sent twice. Null when the image isn't in ToolResult.data.