/** * Copyright (c) 2026, Salesforce, Inc., * All rights reserved. * For full license text, see the LICENSE.txt file */ import { buildMutation } from "./build-mutation.js"; import { type CreateSpec, type ToolOutput } from "./types.js"; import { type PrimeDeps } from "../lib/prime-schema.js"; /** * Build a UIAPI create mutation against a Salesforce org. Implements * `sf_gql_create` intent for the graphiti MCP server (FR-5.6). Thin * wrapper around `buildMutation` with `op = "Create"`; see that helper * for behavior details. */ export async function buildCreate(spec: CreateSpec, deps?: PrimeDeps): Promise { return buildMutation(spec, "Create", deps); }