List categories
list_categoriesRetrieve category and subcategory names and IDs from the shared Marktplaats and 2dehands category tree to build accurate listing search filters.
Instructions
Browse the category tree (shared by marktplaats.nl and 2dehands.be) to find names/ids for search_listings' category and subcategory filters.
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": "list_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent | No | Omit for all top-level categories; pass a top-level category name or id for its subcategories. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | ||
| parent | No | ||
| categories | Yes |