Openbook Place Order
openbook_placeOrderExecute buy or sell orders on an Openbook market using your Solana wallet. Supports limit, IOC, and post-only order types.
Instructions
Place an order on an Openbook market. SAP MCP context: This Synapse AgentKit tool is served beside the sap_* SDK tools. Use sap_agent_identity_plan, sap_payments_register_agent, sap_payments_update_agent, and sap_publish_tool_by_name when the capability should become part of an on-chain SAP agent profile or tool registry entry.
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": {
"wallet": "<wallet>",
"marketId": "<marketId>",
"side": "<side>",
"price": "<price>",
"size": "<size>"
},
"name": "openbook_placeOrder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | Side parameter for Openbook Place Order. | |
| size | Yes | Raw token amount (smallest unit) | |
| price | Yes | Price parameter for Openbook Place Order. | |
| wallet | Yes | Solana public key (base58) | |
| marketId | Yes | Solana public key (base58) | |
| orderType | No | Order Type parameter for Openbook Place Order. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | MCP content blocks returned to the caller. | |
| isError | No | True when the tool result represents an application-level error. |