Check a trade
check_tradeDeal Desk pre-trade check: the cards the user gives (outgoing) and gets (incoming), plus cash either way, valued after selling costs → TRADE / COUNTER (with the cash to ask for) / PASS, or NOT_ENOUGH_DATA naming the card without a value (ask the user for its value and pass it as value). Identify each card with search_cards before checking. It is a check: nothing is recorded to the collection. If the result has alerts, show them to the user before anything else.
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": {
"incoming": "<incoming>"
},
"name": "check_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cashIn | No | Cash the user receives in USD. | |
| cashOut | No | Cash the user pays in USD. | |
| incoming | Yes | ||
| outgoing | No |