Create product
catalog_product_createCreate a Stripe Product in the tenant master Connect account. Idempotent retry checks fin_products by metadata-backed lookup_key before calling Stripe. One thing sold in several forms — sizes, colors, formats — is ONE product with option axes, not one product per combination. Create the product once, then give it axes so the platform generates the combinations as variants; each variant is its own buyable product with its own SKU, price and stock. Never create "Shirt S Black", "Shirt M Black" as separate products.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"lookup_key": "<lookup_key>",
"name": "<name>",
"explanation": "<explanation>",
"account": "<account>"
},
"name": "catalog_product_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Optional merchant-owned product code, e.g. "TOTE-01". Unique within the store, case-insensitively; max 64 characters. This is the merchant's own code — it is NOT lookup_key, which is the Kliv-side identifier and carries spine namespacing. | |
| kind | No | Optional product kind: which of the two admin lists this belongs on. "product" for the Products list, "plan" for the Plans list. Seeded from whether it sells on a schedule, but the merchant may move it either way. | |
| name | Yes | Required product name. | |
| images | No | REPLACES the product's entire photo list, in this order; the first entry becomes the cover. Use url entries only; a new product has no photos. A url entry ingests a new photo (https, JPEG/PNG/WebP); omitted or null credit means no credit. [] removes every photo. Omit to leave photos unchanged. credit is the photographer's name; for Pexels pass the photographer named by image_search. | |
| account | Yes | Account (app) UUID; call account_list to find it | |
| image_urls | No | Optional image URLs (https) to ingest as Kliv-hosted SHA256s after product creation. First entry becomes the cover (mirrored to Stripe for stripe-test/stripe-live envs); remaining entries land as gallery attachments. Max 8 URLs. JPEG, PNG, or WebP only. Use images for credited photos. | |
| lookup_key | Yes | Required Kliv-side product identifier, at least 3 characters. | |
| description | No | Optional product description. | |
| environment | No | Optional environment uuid. Overrides environment_slug. Use it to target a specific app's sandbox (list them with sim_env_list); omit it to act on this app's own. | |
| explanation | Yes | Why you are making this call, in one sentence for the user. | |
| environment_slug | No | Target environment (live, test, or sim). Required because catalog rows are env-scoped. 'sim' means THIS app's own sandbox — each app has its own catalog. To act on a different app's sandbox, pass its uuid as 'environment' instead. | |
| marketing_features | No | Optional selling points shown on the pricing page — e.g. ["Keyless metal chuck", "Two-speed gearbox"]. | |
| feature_lookup_keys | No | Optional feature lookup keys to attach after product creation. | |
| default_price_currency | No | Required when default_price_unit_amount is provided. | |
| default_price_unit_amount | No | Optional default price unit amount in the currency's minor unit (1999 is $19.99; 500 is ¥500). Creates the price with the product's own lookup_key. Like every price, it is created unpublished and therefore not on sale; publish or archive it so it no longer appears as an extra unsold option. |