/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: f3cdc62104da
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
import { MCPUIToolMeta$inboundSchema } from "./mcpuitoolmeta.js";
import { TurbineToolMeta$inboundSchema, } from "./turbinetoolmeta.js";
/** @internal */
export const MCPToolMeta$inboundSchema = z
    .object({
    ui: z.nullable(MCPUIToolMeta$inboundSchema).optional(),
    "ai.mistral/turbine": z.nullable(TurbineToolMeta$inboundSchema).optional(),
}).catchall(z.any()).transform((v) => {
    return remap$(v, {
        "ai.mistral/turbine": "aiMistralTurbine",
    });
});
export function mcpToolMetaFromJSON(jsonString) {
    return safeParse(jsonString, (x) => MCPToolMeta$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MCPToolMeta' from JSON`);
}
//# sourceMappingURL=mcptoolmeta.js.map