Create product in draft
create_draft_productCreate a new hidden product in a Fudge draft, with options, variants, prices and media. It is deleted if the draft is discarded and becomes active when the merchant publishes. Use only when the merchant asks.
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": {
"draft": "<draft>",
"product": "<product>"
},
"name": "create_draft_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | Yes | The draft’s fudge://project/… ref. | |
| store | No | The connected store to use. Omit when only one is connected. | |
| product | Yes |