remove_liquidity
Remove existing liquidity from a prediction market by specifying the market ID and the amount to withdraw.
Instructions
Remove liquidity from market pool
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": {
"contractId": "<contractId>",
"amount": "<amount>"
},
"name": "remove_liquidity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractId | Yes | Market ID | |
| amount | Yes | Amount of liquidity to remove |