Orca Swap
orca_swapSwap tokens on an Orca Whirlpool using a Solana wallet. Specify pool address, input token mint, and amount for the swap.
Instructions
Swap tokens on an Orca Whirlpool. 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>",
"poolAddress": "<poolAddress>",
"inputMint": "<inputMint>",
"amount": "<amount>"
},
"name": "orca_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Raw token amount (smallest unit) | |
| wallet | Yes | Solana public key (base58) | |
| inputMint | Yes | Token mint address (base58) | |
| poolAddress | Yes | Solana public key (base58) | |
| slippageBps | No | Slippage Bps pagination control for Orca Swap. | |
| isExactInput | No | Is Exact Input parameter for Orca Swap. |
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. |