booksy_treatments
Discover Booksy treatment ids for one top-level category and return the treatments the app lists for it (integer id, name, slug), in the marketplace's own ranking order. This is the category-scoped discovery step for the treatment parameter of booksy_businesses: take a category id from booksy_categories, pick a treatment id from this list, then pass both to booksy_businesses to filter a listing (category 6 with treatment 363 is the Male Haircut subset of Barber). Omitting category returns the upstream's unscoped popular list, which mixes categories. limit is 1 to 40, the upstream's own cap. The route has no page or offset parameter, so a category that publishes more 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). An empty list or an unknown category id is an honest empty answer rather than an error. Use booksy_treatment_hints for free-text discovery.
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, which is the upstream's own cap. Values above 40 are rejected because the upstream refuses them. | |
| country | No | Optional Booksy market, one of: ar, au, br, ca, cl, co, de, es, fr, gb, ie, it, mx, nl, pl, pt, us, za. Defaults to us. These are the only country hosts that serve this API. | |
| category | No | Optional top-level category id from booksy_categories, for example 6 for Barber. It must be an INTEGER id. Omitting it returns the upstream's unscoped popular list, which mixes categories. An id outside the 18-value enum answers an empty list rather than an error. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |