search_willhaben
Search willhaben marketplace listings by keyword, category, price, condition, brand, size, color, and seller to find matching ads and filter out accessories or sold items.
Instructions
Search the willhaben marketplace. Needs a keyword, a
category or both.
A bare keyword matches the whole ad text and drags in accessories and spare parts, so scope to a category when you can. willhaben ignores punctuation: "???" in a keyword matches nothing, so write "drei fragezeichen".
Put the model in keyword and every spec in require. Sellers write
"128GB", "128 GB" or leave it out of the title, so keyword="iPhone 13", require=["128gb"] finds what keyword="iPhone 13 128 GB" misses.
These filters run here, paging on until rows matches turn up or 250 ads
were scanned (scanned):
title_only: every keyword word must be in the title.require: every term must be in the title or description; a number with its unit matches however it is spelled.exclude: drop titles carrying any of these words, e.g.["pro", "max"]to keep a base model clean of its trim levels. A word also hits the tail of a compound ("kabel" in "Ladekabel"), never a prefix ("pro" spares "Prozessor"). If variants turn up, search again with them excluded rather than dropping rows yourself.hide_reserved: drop reserved and sold ads.handover("versand" / "abholung"): costs one detail request per candidate, at most 40 (detail_lookups).payliveryis a payment method, not shipping.
Don't exclude ordinary nouns like "case" or "akku", real listings use them
too ("Akku 100%"). Keep accessories out with price_from at about 15-20%
of the product's real price instead.
Args:
keyword: Search words.
category: Category id or name; includes its subcategories.
condition: "neu", "neuwertig", "generalueberholt", "gebraucht",
"defekt" or "ausstellungsstueck".
clothing_size / shoe_size: e.g. "38", "46 / S" or "42"; clothing and
shoe categories only.
color / pattern: willhaben's colours and patterns, mostly fashion.
brand: Brand id(s) from search_brands.
seller: "privat" or "haendler".
price_from / price_to: Price bounds in EUR.
last_48h: Only ads from the last two days.
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_willhaben"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | ||
| rows | No | ||
| brand | No | ||
| color | No | ||
| offset | No | ||
| seller | No | ||
| exclude | No | ||
| keyword | No | ||
| pattern | No | ||
| require | No | ||
| sort_by | No | actuality | |
| category | No | ||
| district | No | ||
| handover | No | ||
| last_48h | No | ||
| price_to | No | ||
| condition | No | ||
| paylivery | No | ||
| shoe_size | No | ||
| price_from | No | ||
| title_only | No | ||
| clothing_size | No | ||
| hide_reserved | No |