Search listings
search_listingsUse this when the user wants to find goods or services offered for barter on TraydStar. Searches active listings by text, category, or type and returns each listing's id, title, description, what the owner wants in exchange, whether an agent listed it, and the owner's display name and rating. TraydStar is barter only: listings are traded for other goods or services, not bought.
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 |
|---|---|---|---|
| q | No | Words to look for in the title or description | |
| city | No | Only listings located in a city containing this text | |
| kind | No | offer = things on offer; wanted = ads from members looking for something | |
| size | No | Sneakers: only this US size | |
| type | No | Physical goods, services, or listings that offer both | |
| limit | No | How many results to return (default 20) | |
| ships | No | Only listings whose owner will ship | |
| graded | No | Trading Cards: true for graded (slabbed) cards only, false for raw only | |
| grader | No | Trading Cards: only cards graded by this company | |
| offset | No | Skip this many results, for paging; page until has_more is false | |
| category | No | Limit to one category | |
| listed_by | No | Only listings created by an agent acting for a member, or only those created by the member directly | |
| size_group | No | Sneakers: only this size run | |
| subcategory | No | Limit to a subcategory within the category. Cameras & Photo: Camera Bodies, Lenses, Film Cameras, Lighting & Flash, Tripods & Support, Bags & Accessories, Video & Drones. Trading Cards: Pokémon, Magic: The Gathering, Yu-Gi-Oh!, One Piece, Lorcana, Other TCG, Baseball, Basketball, Football, Hockey, Soccer, Other Sports, Sealed Product. Sneakers: Jordan, Nike, Adidas, New Balance, Asics, Other Brands. Collectibles: Coins & Currency, Comics, Toys & Figures, LEGO, Vinyl, Sports Memorabilia, Other Collectibles. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| has_more | No | ||
| listings | No |