set_cost_floor
Record the user's cost basis (landed unit cost) for an ASIN so later checks can flag when the buy box drops below their cost and compute true net spread; the saved/cleared confirmation also echoes the ASIN's product brand, title and price (or price range) and its fulfillment (FBA/FBM/AMZ). Use when the user says 'my cost on B0... is $12', 'set my cost basis', 'I pay $X for this'. One ASIN per call; pass cost 0 to clear.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"asin": "<asin>",
"cost_floor": "<cost_floor>"
},
"name": "set_cost_floor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asin | Yes | The 10-character ASIN. | |
| cost_floor | Yes | Your landed unit cost (marketplace currency). 0 clears it. | |
| marketplace_id | No | Marketplace (2 = Amazon US). |