engage_offer
Trade against an open offer by locking the same total amount in escrow. Provide offer ID, buyer/seller profiles, amount, and trade type to execute the trade.
Instructions
Engage (trade against) an open offer. The trader locks the same totalAmount in escrow.
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": {
"offerId": "<offerId>",
"buyerProfileId": "<buyerProfileId>",
"sellerProfileId": "<sellerProfileId>",
"amount": "<amount>",
"tradeType": "<tradeType>",
"currency": "<currency>"
},
"name": "engage_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Trade amount | |
| userId | No | Trader's external user ID. Defaults to your own user ID. | |
| offerId | Yes | Offer UUID to engage | |
| currency | Yes | Currency code matching the offer (e.g. "NGN") | |
| userName | No | Trader's display name | |
| tradeType | Yes | Your prediction: "long" (price goes up) or "short" (price goes down) | |
| userEmail | No | Trader's email for settlement notifications | |
| buyerProfileId | Yes | Buyer profile ID | |
| sellerProfileId | Yes | Seller profile ID |