Raydium-pools Remove Liquidity
raydium-pools_removeLiquidityRemove liquidity from a Raydium pool by providing wallet and pool ID, and optionally the amount or percentage of liquidity to withdraw.
Instructions
Remove liquidity from a Raydium pool. 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>",
"poolId": "<poolId>"
},
"name": "raydium-pools_removeLiquidity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poolId | Yes | Solana public key (base58) | |
| wallet | Yes | Solana public key (base58) | |
| lpAmount | No | Raw token amount (smallest unit) | |
| percentage | No | Percentage of liquidity to remove | |
| positionNft | No | Token mint address (base58) |
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. |