Home / Servers / Square API / clone_order

CloneOrder

An MCP tool from the Square API server, hosted on mcp.hjlabs.in.

CloneOrder Creates a new order, in the DRAFT state, by duplicating an existing order. The newly created order has only the core fields (such as line items, taxes, and discounts) copied from the original order. [POST /v2/orders/clone]

Name on the gateway: square_api__clone_order · may change things.

Parameters

NameTypeDescription
order_id requiredstringThe ID of the order to clone.
versionintegerAn optional order version for concurrency protection. If a version is…
idempotency_keystringA value you specify that uniquely identifies this clone request. If you are…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "square_api__clone_order",
  "arguments": {
    "order_id": "…"
  }
}

Or connect the Square API server directly, which lists 308 tools including this one:

Run in your terminal
claude mcp add --transport http hj-square-api https://mcp.hjlabs.in/mcp/square-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the cloneorder tool with order_id set to ….

More from Square API