booksy_treatments
Discover Booksy treatment IDs for a selected category, then use those IDs to filter business listings by treatment.
Instructions
Discover Booksy treatment ids for one category. Returns the treatment ids Booksy's (booksy.com) Android app lists for one top-level category, in the upstream's own ranking order, with each treatment's integer id, name and slug. This is the category-scoped discovery step for the treatment parameter of booksy-businesses: combine the category with one of these treatments to filter a listing, and category 6 with treatment 363 returns the Male Haircut subset of the Barber marketplace. Pass a category id from booksy-categories; omit it for the upstream's unscoped popular list, which mixes categories. limit is 1 to 40, the upstream's own cap. The route has no page, offset or cursor parameter, so a category that publishes more treatments than the limit cannot be read past it: truncated=true means the upstream returned exactly the limit, which is the only signal that more may exist (Hair and Health and fitness both sit at 40). A category with no treatments or an unknown category id answers an honest empty list, not an error. For query-driven discovery by free text use booksy-treatment-hints instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "booksy_treatments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Treatments to return, 1 to 40; defaults to 40, the upstream cap | |
| country | No | Market host | |
| category | No | Top-level category id from booksy-categories (integer, not a slug) |