/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: d537caae3348
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const ToolAnnotations$inboundSchema = z.object({
    title: z.nullable(z.string()).optional(),
    readOnlyHint: z.nullable(z.boolean()).optional(),
    destructiveHint: z.nullable(z.boolean()).optional(),
    idempotentHint: z.nullable(z.boolean()).optional(),
    openWorldHint: z.nullable(z.boolean()).optional(),
}).catchall(z.any());
export function toolAnnotationsFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ToolAnnotations$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ToolAnnotations' from JSON`);
}
//# sourceMappingURL=toolannotations.js.map