Add item to collection
collection_add_itemAdd or update a product entry in a Kliv-side collection overlay. Calling on an existing item replaces its included price set. Omit price_ids to include all currently active prices. Presentation is rendered by tenant-side JSX from the Stripe Product mirror. This is DB-only and does not call Stripe.
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": {
"explanation": "<explanation>",
"account": "<account>"
},
"name": "collection_add_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Account (app) UUID; call account_list to find it | |
| price_ids | No | Optional full set of included Stripe price ids. Omit to include all currently active prices. | |
| 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. | |
| collection_id | No | Collection database id. Provide exactly one of collection_id or collection_uuid. | |
| display_order | No | Optional display order; defaults to 0. | |
| collection_uuid | No | Collection uuid starting with pt. Provide exactly one of collection_id or collection_uuid. | |
| environment_slug | No | Collection environment (live, test, or sim). Required because collections are env-scoped — the same name can exist once per environment. 'sim' means THIS app's own sandbox; to act on a different app's, pass its uuid as 'environment'. | |
| stripe_product_id | No | Required Stripe product id starting with prod_. Must reference a product in the table's environment. |