search_ads
Search Leboncoin classified ads by text, category, location, price, seller type, and shipping to find items for sale and retrieve matching results.
Instructions
Search Leboncoin ads offered for sale.
Places combine: an ad matches if it lies in any of the cities, departments or regions given. Departments take a name or a number; regions are the current French regions. Use get_ad for an ad's full description and get_seller for its seller.
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": "search_ads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A search made on the Leboncoin site or app, with all its filters. Replaces every other criterion; only limit and page apply. | |
| page | No | ||
| sort | No | relevance by default. | |
| text | No | ||
| limit | No | ||
| cities | No | ||
| regions | No | ||
| category | No | ||
| price_max | No | ||
| price_min | No | ||
| departments | No | ||
| seller_type | No | all by default. | |
| shippable_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ads | Yes | ||
| page | Yes | ||
| total | Yes | How many ads match, on every page. | |
| has_next_page | Yes |