Search Facebook Marketplace listings
facebook_marketplace_search_listSearch Facebook Marketplace listings by keyword and location coordinates, with optional price, condition, radius, and sort filters. Use returned cursors to page through additional results.
Instructions
Search Facebook Marketplace listings by keyword near a latitude and longitude. Requires query, lat and lng. Returns a list (use cursor when paginated).
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": {
"query": "<query>",
"lat": "<lat>",
"lng": "<lng>",
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "facebook_marketplace_search_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude for the marketplace search location. | |
| lng | Yes | Longitude for the marketplace search location. | |
| count | No | Deprecated alias for `limit`. When both are set, `limit` wins. | |
| limit | No | Optional number of listings to return (1–100). Prefer this over `count`. | |
| query | Yes | Required. Search query text for marketplace listings. | |
| cursor | No | Opaque pagination cursor returned by a previous response. | |
| sortBy | No | Optional sort order for marketplace listings. `suggested`: Facebook's default relevance ranking. `distanceAscend`: nearest first. `creationTimeDescend`: newest listings first. `priceAscend`/`priceDescend`: lowest/highest price first. | |
| context | Yes | Describe the user's underlying goal in one sentence, not the tool you are calling. | |
| maxPrice | No | Optional maximum listing price. Must be greater than or equal to `minPrice` when both are set. | |
| minPrice | No | Optional minimum listing price. Must be less than or equal to `maxPrice` when both are set. | |
| radiusKm | No | Optional search radius in kilometers. | |
| condition | No | Optional item condition filter for marketplace listings. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess. | |
| categoryId | No | Optional numeric Marketplace category id. Only listings in that category are returned. Listings report their category as `categoryId`. | |
| dateListed | No | Optional date-listed filter for marketplace listings. `1`/`last24Hours` both mean the last 24 hours, `7`/`last7Days` both mean the last 7 days, and `30`/`last30Days` both mean the last 30 days — these are separate values Facebook accepts for the same window; prefer the named variants (`last24Hours`, `last7Days`, `last30Days`) for clarity. `all` applies no date filter. | |
| availability | No | Optional availability filter for marketplace listings. | |
| deliveryMethod | No | Optional delivery method filter for marketplace listings. | |
| conversation_id | No | Echo the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it. |