fill_cc_order
Fill an open CC/USDC order as taker, buying CC with USDC when matching a sell or selling CC for USDC when matching a buy; partial fills supported.
Instructions
Fill an existing open order on the CC/USDC book (taker action). If filling a SELL order: you buy CC and transfer USDC. If filling a BUY order: you sell CC and receive USDC. Partial fills supported.
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": {
"agent_id": "<agent_id>",
"api_key": "<api_key>",
"order_id": "<order_id>"
},
"name": "fill_cc_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | ||
| agent_id | Yes | ||
| order_id | Yes | UUID of the order to fill (from get_cc_orderbook) | |
| fill_cogs | No | How many cogs to fill (optional — omit to fill entire order) |