update_product
Update an existing product by its ID, replacing its name, price, stock, and optional description with new values.
Instructions
Replace the editable fields of an existing product.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| price | Yes | ||
| stock | Yes | ||
| product_id | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||