/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 97692d5f3480
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
import { TasksElicitationCapability$inboundSchema, } from "./taskselicitationcapability.js";
import { TasksSamplingCapability$inboundSchema, } from "./taskssamplingcapability.js";
/** @internal */
export const ClientTasksRequestsCapability$inboundSchema = z.object({
    sampling: z.nullable(TasksSamplingCapability$inboundSchema).optional(),
    elicitation: z.nullable(TasksElicitationCapability$inboundSchema).optional(),
}).catchall(z.any());
export function clientTasksRequestsCapabilityFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ClientTasksRequestsCapability$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ClientTasksRequestsCapability' from JSON`);
}
//# sourceMappingURL=clienttasksrequestscapability.js.map