@backblaze-labs/b2-mcp
    Preparing search index...

    Function serializeUnsanitizedStructuredToolResult

    • Serialize structured data without secret sanitization.

      Parameters

      • data: unknown

        JSON-compatible data to serialize.

      • format: "json" | "toon" = ...

        Text serialization format for the MCP content block.

      Returns StructuredToolResult

      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.