Device Prices
device_pricesCurrent Swappa prices for a device: starting price, average price, and a breakdown table by variant (carrier/color/storage) with active-listing average and trade-in value. Accepts either a free-text device name (auto-resolved via search) or an exact slug from search_device.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device": "iPhone 15"
},
"name": "device_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | Device name (e.g. "iPhone 15") or exact slug (e.g. "apple-iphone-15"). |