/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 5695c877421e
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const PromptArgument$inboundSchema = z.object({
    name: z.string(),
    description: z.nullable(z.string()).optional(),
    required: z.nullable(z.boolean()).optional(),
}).catchall(z.any());
export function promptArgumentFromJSON(jsonString) {
    return safeParse(jsonString, (x) => PromptArgument$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PromptArgument' from JSON`);
}
//# sourceMappingURL=promptargument.js.map