Prepare a pool price correction
prepare_fix_pool_priceRun the interface-equivalent phased fix-price workflow: provide exact pending pool-price read calldata, then exact router quote calldata, then approvals and target-price execution calldata. The wallet never constructs a route or transaction.
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": {
"chain_id": "<chain_id>",
"sender": "<sender>",
"core_address": "<core_address>",
"pool_id": "<pool_id>",
"base_token": "<base_token>",
"target_price": "<target_price>"
},
"name": "prepare_fix_pool_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | address | |
| pool_id | Yes | decimal or 0x-hex integer | |
| chain_id | Yes | EVM chain ID | |
| base_token | Yes | Token; zero address = native | |
| core_address | Yes | address | |
| quote_result | No | ||
| target_price | Yes | Quote per whole raw base token (decimals only, multiplier not applied); convert a share price first: × base ÷ quote multiplier | |
| swap_deadline_minutes | No | Ekubo router route deadline; default 30 | |
| pending_current_sqrt_ratio | No | decimal integer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| execution_plan_reference | No | artifact_reference; pass unchanged |