foresea_cancel_order
Cancel an active open order on Kalshi or Polymarket using its venue order ID to stop an unwanted pending trade before it executes.
Instructions
Cancel an active open order on Kalshi or Polymarket using its venue order ID.
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": {
"order_id": "<order_id>"
},
"name": "foresea_cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | No | ||
| order_id | Yes | ||
| platform | No | kalshi |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |