List Leboncoin categories
list_categoriesBrowse Leboncoin categories locally, getting top-level sections or child categories by parent ID. No network call needed. Use the full tree export to pick the right category for an ad.
Instructions
Browses the Leboncoin category tree. With no argument it returns the top-level sections; pass parentId to list the children of one. Purely local, no request to Leboncoin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Return the whole flat tree instead. | |
| parentId | No | Category id to list the children of. Omit for the top level. |