/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 933b5afb37b5
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import * as components from "../components/index.js";
/** @internal */
export const ConnectorCallToolV1Request$outboundSchema = z.object({
    toolName: z.string(),
    credentialsName: z.nullable(z.string()).optional(),
    connectorIdOrName: z.string(),
    connectorCallToolRequest: components.ConnectorCallToolRequest$outboundSchema,
}).transform((v) => {
    return remap$(v, {
        toolName: "tool_name",
        credentialsName: "credentials_name",
        connectorIdOrName: "connector_id_or_name",
        connectorCallToolRequest: "ConnectorCallToolRequest",
    });
});
export function connectorCallToolV1RequestToJSON(connectorCallToolV1Request) {
    return JSON.stringify(ConnectorCallToolV1Request$outboundSchema.parse(connectorCallToolV1Request));
}
//# sourceMappingURL=connectorcalltoolv1.js.map