/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 214688641f30
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
import * as openEnums from "../../types/enums.js";
export const Visibility = {
    Model: "model",
    App: "app",
};
/** @internal */
export const Visibility$inboundSchema = openEnums.inboundSchema(Visibility);
/** @internal */
export const MCPUIToolMeta$inboundSchema = z
    .object({
    resourceUri: z.nullable(z.string()).optional(),
    visibility: z.nullable(z.array(Visibility$inboundSchema)).optional(),
}).catchall(z.any());
export function mcpuiToolMetaFromJSON(jsonString) {
    return safeParse(jsonString, (x) => MCPUIToolMeta$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MCPUIToolMeta' from JSON`);
}
//# sourceMappingURL=mcpuitoolmeta.js.map