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
| Name | Type | Description |
|---|---|---|
order_id required | string | The ID of the order to clone. |
version | integer | An optional order version for concurrency protection. If a version is… |
idempotency_key | string | A 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:
{
"name": "square_api__clone_order",
"arguments": {
"order_id": "…"
}
}Or connect the Square API server directly, which lists 308 tools including this one:
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 ….