Search items for sale
search_listingsSearches things people are selling on agentPickup's marketplace, picked up in person: by words, category, top price and distance. Items are collected in person, so before searching for someone, ask where they are and how far they're happy to travel if they haven't said, then pass near (a suburb) or lat/lng, with within_km. Shows the results as a grid card the person can tap to open an item; returns each item's listing_id, title, price, condition, suburb, distance and first photo.
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_listings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Where the person is, if known: latitude. Send with lng. | |
| lng | No | Where the person is, if known: longitude. Send with lat. | |
| near | No | Where the person is: a suburb or neighbourhood with its city, state or country, e.g. "New Farm QLD" or "Shoreditch, London" (many places share a name). | |
| query | No | What the person wants, e.g. "road bike" or "standing desk". | |
| suburb | No | Only items picked up in this suburb. A city or a suburb with nothing listed searches around it instead. | |
| category | No | ||
| currency | No | The currency of max_price as an ISO code, if it isn't the local one. | |
| max_price | No | Their top price, in the local currency where they are (or in currency). | |
| within_km | No | How far they'll travel to pick up, in km. Default 10. | |
| max_price_aud | No | Older name for max_price, in Australian dollars. Use max_price. |