/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 5abd65c635d4
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const SamplingCapability$inboundSchema = z.object({
    context: z.nullable(z.record(z.string(), z.any())).optional(),
    tools: z.nullable(z.record(z.string(), z.any())).optional(),
}).catchall(z.any());
export function samplingCapabilityFromJSON(jsonString) {
    return safeParse(jsonString, (x) => SamplingCapability$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SamplingCapability' from JSON`);
}
//# sourceMappingURL=samplingcapability.js.map