Create collection in draft
create_draft_collectionCreate a new hidden collection in a Fudge draft. It is deleted if the draft is discarded and goes live 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>",
"collection": "<collection>"
},
"name": "create_draft_collection"
}
}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. | |
| collection | Yes |