/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 0eb9a8a54e39
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
import { ConnectorToolResultMetadata$inboundSchema, } from "./connectortoolresultmetadata.js";
/** @internal */
export const ConnectorToolCallMetadata$inboundSchema = z.object({
    mcp_meta: z.nullable(ConnectorToolResultMetadata$inboundSchema).optional(),
}).catchall(z.any()).transform((v) => {
    return remap$(v, {
        "mcp_meta": "mcpMeta",
    });
});
export function connectorToolCallMetadataFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ConnectorToolCallMetadata$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConnectorToolCallMetadata' from JSON`);
}
//# sourceMappingURL=connectortoolcallmetadata.js.map