Save a drop
save_dropFor shop owners: create a drop, change one (drop and its revision) or close one early (close: true). A drop is when ordering opens and closes, its pickup or delivery times, and the listings it sells with how many of each. Send only what changes; in listings and times, whole lists, one left out is removed. Only listings with sold: windowed go in a drop. shown: true puts it on the shop; closing is final.
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": {
"request_id": "<request_id>"
},
"name": "save_drop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drop | No | The drop to change, by name or id; left out, a new one is created. | |
| name | No | The drop's name, such as "Christmas preorders". Required for a new drop. | |
| close | No | True closes the drop now, for good. Send it with `drop` and `revision` only. | |
| opens | No | When ordering opens, YYYY-MM-DDTHH:mm on the shop's clock. | |
| shown | No | True puts it on the shop (it opens and closes by itself); false keeps it hidden as a draft. | |
| times | No | The whole list of pickup or delivery times. One you leave out is removed (refused once an order names it). | |
| cutoff | No | When ordering closes, after `opens`. Pickup and delivery times start at or after it. | |
| images | No | Image ids from add_media. The whole list. | |
| listings | No | The whole list of listings in it. One you leave out is taken out (refused once it has sold). | |
| revision | No | Required with `drop`: its `revision` as last read. | |
| order_mode | No | null inherits: the drop's, then the listing's, then the shop's. | |
| request_id | Yes | Unique per call; the same id again returns the first result. | |
| description | No | Shown with the drop. null removes it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drop | No | ||
| next | No | ||
| error | No | ||
| notice | No | ||
| choices | No | ||
| created | No | ||
| outcome | No | ||
| timezone | No | ||
| confirmation | No |