Create a pack
create_packAdds a new pack to what the venue sells. It is visible to members straight away. Returns the new pack. Acts on one venue, given its address and access key.
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": {
"address": "<address>",
"access_key": "<access_key>",
"name": "<name>",
"valid_days": "<valid_days>",
"price_eur": "<price_eur>"
},
"name": "create_pack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name shown to members, e.g. "Move 10". | |
| address | Yes | The venue’s address name, the "name" in name.bookare.app. | |
| classes | No | How many classes the pack holds (1-200). Leave out when unlimited is true. | |
| tagline | No | One short line under the name. | |
| price_eur | Yes | Price in euro, e.g. 59.9. | |
| unlimited | No | True for unlimited classes until it expires. | |
| access_key | Yes | The venue’s access key. | |
| valid_days | Yes | Days the pack is valid from the day it is bought (1-730). | |
| description | No | Longer description shown with the pack. | |
| off_peak_only | No | True if it can be used only for classes marked off-peak. | |
| on_sale_until | No | YYYY-MM-DD: a limited-time pack members can buy until the end of that day. Empty string = always on sale. | |
| class_type_ids | No | Class types the pack can be used for. Empty list = all. |