Create an embedded-resource content block for a tool result.
Supports resource(uri, mimeType, text?) or resource(uri, callToolResult).
Resource URI.
MIME type string, or a helper/CallToolResult to extract from.
Optionaltext: string
Optional text body (3-arg form).
Tool result with an embedded resource content block.
Deprecated
Prefer raw CallToolResult, ReadResourceResult, or GetPromptResult returns. These helpers remain for upgrade compatibility and map to the official wire envelopes.