buy_orders_and_contract
Combine order book and AMM buys into one transaction to acquire shares for a market outcome with a specified amount and minimum shares.
Instructions
Buy from order book + AMM in one transaction.
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": {
"market": "<market>",
"outcome": "<outcome>",
"order_ids": "<order_ids>",
"amount_usdb": "<amount_usdb>"
},
"name": "buy_orders_and_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | ||
| outcome | Yes | ||
| order_ids | Yes | ||
| amount_usdb | Yes | ||
| min_shares | No |