craigslist_new_postings
List one day's new Craigslist postings for a specified area and section, returning posting IDs, slugs, and URLs for paging through daily feeds.
Instructions
List one day's new Craigslist postings for an area and section. Returns the posting URLs one Craigslist area published in one section on one day, read from the daily postings feed the site advertises in robots.txt (sitemap-postings-{date}-{area}-{section}.xml). Each item has the posting id, slug and URL, which craigslist_posting accepts. area, section and one day (date, or days_ago counted back from the current UTC day) are all required: one area, one section and one day per call, with no all-areas fan-out. The feed keeps today and the 29 days before it (UTC days); craigslist_new_postings_index returns that window and the area and section files that exist for a day. A file lists at most 25,000 postings (upstream_cap_reached marks a full one); page through it with limit and offset. An area without postings in that section that day, or a day just past either edge of the window, is a not-found error; a date further outside the window is rejected as an invalid parameter.
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>",
"section": "<section>"
},
"name": "craigslist_new_postings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | Yes | Area slug from craigslist_areas | |
| date | No | Feed day, YYYY-MM-DD (UTC), within the window craigslist_new_postings_index returns; required unless days_ago is set | |
| limit | No | Postings to return | |
| offset | No | Postings to skip; use next_offset to page | |
| section | Yes | Feed section: bbb services, ccc community, eee event calendar, ggg gigs, hhh housing, jjj jobs, rrr resumes, sss for sale | |
| days_ago | No | Alternative to date: the UTC day this many days ago (0 is today and still filling); pass date or days_ago, not both |