stellar_deposit_liquidity
Deposit two assets into a Stellar automated market maker liquidity pool by setting maximum amounts and price range.
Instructions
Deposit liquidity into a classic Stellar AMM liquidity pool.
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": {
"sourceAccount": "<sourceAccount>",
"assetA": "<assetA>",
"assetB": "<assetB>",
"maxAmountA": "<maxAmountA>",
"maxAmountB": "<maxAmountB>",
"minPrice": "<minPrice>",
"maxPrice": "<maxPrice>"
},
"name": "stellar_deposit_liquidity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceAccount | Yes | Account providing liquidity | |
| assetA | Yes | First asset of the liquidity pool | |
| assetB | Yes | Second asset of the liquidity pool | |
| maxAmountA | Yes | Maximum amount of asset A to deposit | |
| maxAmountB | Yes | Maximum amount of asset B to deposit | |
| minPrice | Yes | Minimum price of asset A in terms of asset B | |
| maxPrice | Yes | Maximum price of asset A in terms of asset B | |
| fee | No | Liquidity pool fee in basis points (usually 30) |