craigslist_hubs
List every category and hub name for one Craigslist area so you can pick valid category codes for search and filter queries. Each call reads the area's categories-and-hubs sitemap.
Instructions
List every category and hub of one Craigslist area. Returns the complete category abbreviations and hub names one Craigslist area offers, read from the area's categories-and-hubs sitemap (sitemap-categories-and-hubs-area-{abbr}.xml, which the site advertises in robots.txt). categories holds about 130 abbreviations such as sss or bia; hubs holds the area's named sub-category search pages such as e-bikes or mountain-bikes (about 90 in sfbay, fewer in small areas). Every value is a valid category for craigslist_search and craigslist_category_filters. area is required, so each call covers one area.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"area": "<area>"
},
"name": "craigslist_hubs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | Yes | Area slug from craigslist_areas |