update_product
Update product details in your store. Change only specified fields; name updates regenerate the slug.
Instructions
Update a product in your store. Only provided fields are changed. Updating the name regenerates the slug.
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": {
"id": "<id>"
},
"name": "update_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Product ID | |
| name | No | Product name (1-200 characters) | |
| price | No | Price in USDT (0.01 - 1,000,000) | |
| stock | No | Available quantity (0-999,999) | |
| images | No | Array of HTTPS image URLs (max 10) | |
| isActive | No | Toggle product visibility | |
| metadata | No | Custom key-value metadata | |
| sortOrder | No | Display order (0-9999) | |
| contentType | No | Product content type. GENERAL or SKILL. Switching from SKILL to GENERAL clears skill fields. | |
| description | No | Product description (max 5000 characters) | |
| skillContent | No | Raw SKILL.md file content. Only used when contentType is SKILL. Backend re-parses frontmatter on update. | |
| digitalContent | No | Digital delivery content — auto-delivered after payment |