get_categories
List active categories of the Joomil.ch marketplace. Returns a flat list with parent_id for hierarchy reconstruction. Omit parent_id for all categories, use parent_id=0 for root categories only, or pass a specific ID to get direct children of that category.
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": "get_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent_id | No | Filter to direct children of this category ID. Omit for all categories. Use 0 for root categories only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| categories | Yes |