Skip to main content

get-products

Returns all products from the organization's product catalog. Products can be linked to assets and used as references for AI image generation.

Parameters

None.

Response

FieldTypeDescription
insertProductsarrayList of products
insertProducts[].idstringProduct identifier
insertProducts[].namestringProduct name
insertProducts[].productImageUrlstring | nullURL of the main product image
insertProducts[].hasPackagingDistinctionbooleanWhether the product supports packaging vs. content distinction for AI generation
insertProducts[].createdAtstringISO date
insertProducts[].updatedAtstringISO date
totalnumberTotal number of products

Example

Request:

{
"tool": "get-products",
"arguments": {}
}

Response:

{
"insertProducts": [
{
"id": "prod_abc123",
"name": "Summer Collection T-Shirt",
"productImageUrl": "https://cdn.heycreo.io/...",
"hasPackagingDistinction": false,
"createdAt": "2026-02-01T09:00:00.000Z",
"updatedAt": "2026-03-15T11:00:00.000Z"
}
],
"total": 1
}

create-product

Create a product or person in the organization catalog.

Parameters

ParameterTypeRequiredDescription
namestringYesDisplay name
kind"product" | "person"NoDefault product
assetIdstringNoLibrary asset id for the packaging/default image (prefer after begin-asset-upload / upload-asset)
unpackedAssetIdstringNoLibrary asset id for the unpacked/content image
imageUrlstringNoHTTPS URL alternative to assetId (server downloads)
unpackedImageUrlstringNoHTTPS URL alternative to unpackedAssetId
hasPackagingDistinctionbooleanNoProduct only: packaging vs content images differ
propagateToSubtreebooleanNoMake available to descendant workspaces

Prefer assetId over imageUrl when the file is already in the library — no second public fetch.

Example

{
"tool": "create-product",
"arguments": {
"name": "Summer Collection T-Shirt",
"assetId": "asset_abc123"
}
}