Serialize structured data without secret sanitization.
JSON-compatible data to serialize.
Text serialization format for the MCP content block.
Structured MCP tool result.
This is reserved for the explicit inline durable-secret escape hatch. Normal tool handlers should use serializeStructuredToolResult.
TypeError when the value cannot be represented as JSON.
Serialize structured data without secret sanitization.