ACP v2 (Preview) TypeScript SDK — UNSTABLE - v2.12.1
    Preparing search index...

    Type Alias McpOutcome

    McpOutcome:
        | { result: unknown; _meta?: Record<string, unknown>
        | null }
        | { error: McpErrorObject; _meta?: Record<string, unknown> | null }

    The single inner MCP outcome carried by a successful mcp/message response.

    Exactly one of result or error is present. result may be any JSON value, including null.