product_render_draft
Read back a saved DRAFT product's fields using its numeric ID and category to verify what a publish stored.
Instructions
Read back a DRAFT product's saved fields (schema.render.draft). product_id
is the plaintext numeric draft id. Useful to verify what a publish stored.
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": {
"product_id": "<product_id>",
"category_id": "<category_id>"
},
"name": "product_render_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | en_US | |
| product_id | Yes | ||
| account_key | No | ||
| category_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| error | No | ||
| fields | No | ||
| error_type | No |