submit_order
Relay a pre-signed order to the Ophis orderbook. Provide the order object, EIP-712 signature, and owner address to receive the order UID.
Instructions
Relay a PRE-SIGNED order to the chain's Ophis orderbook. Pass the exact order object and fullAppData from build_order, plus your EIP-712 signature and from (owner). The MCP holds no keys — it only forwards. Returns the order UID on success.
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": {
"chainId": "<chainId>",
"order": "<order>",
"signature": "<signature>",
"from": "<from>",
"fullAppData": "<fullAppData>"
},
"name": "submit_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | Yes | EVM chain id the order was built for. | |
| order | Yes | The order object returned by build_order. | |
| signature | Yes | 0x EIP-712 signature over the order by the owner. | |
| signingScheme | No | Signature scheme over the order (default 'eip712'). | |
| from | Yes | The owner address that signed. | |
| fullAppData | Yes | The fullAppData string returned by build_order. |