set-pool-weights
Adjust liquidity pool weight allocations on Osmosis blockchain for governance proposals. Specify pool ID and new asset weights to modify pool composition.
Instructions
Set new weights for a balancer pool (governance)
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": {
"mnemonic": "<mnemonic>",
"poolId": "<poolId>",
"poolAssets": "<poolAssets>"
},
"name": "set-pool-weights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mnemonic | Yes | BIP-39 mnemonic phrase for signing the transaction | |
| poolId | Yes | Pool ID to update | |
| poolAssets | Yes | New pool assets with weights | |
| gas | No | Gas limit (default: auto-estimate) | |
| gasPrice | No | Gas price (default: 0.025uosmo) | |
| memo | No | Transaction memo |