/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: c60cfca9941f
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
import { ServerTasksRequestsCapability$inboundSchema, } from "./servertasksrequestscapability.js";
/** @internal */
export const ServerTasksCapability$inboundSchema = z.object({
    list: z.nullable(z.record(z.string(), z.any())).optional(),
    cancel: z.nullable(z.record(z.string(), z.any())).optional(),
    requests: z.nullable(ServerTasksRequestsCapability$inboundSchema).optional(),
}).catchall(z.any());
export function serverTasksCapabilityFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ServerTasksCapability$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ServerTasksCapability' from JSON`);
}
//# sourceMappingURL=servertaskscapability.js.map