estimate_swap_cost
Estimate the friction cost (in bps) of swapping a bot in a fund.
Use this before calling swap_bot_in_fund to understand the cost of
winding down the old bot's positions and opening new ones.
Args:
fund_id: The fund's ID.
old_bot_id: The bot being considered for removal.
new_bot_id: The replacement bot.
new_bot_domain: The replacement bot's domain.
Returns the estimated friction in bps of fund AUM.
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": {
"fund_id": "<fund_id>",
"old_bot_id": "<old_bot_id>",
"new_bot_id": "<new_bot_id>",
"new_bot_domain": "<new_bot_domain>"
},
"name": "estimate_swap_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fund_id | Yes | ||
| new_bot_id | Yes | ||
| old_bot_id | Yes | ||
| new_bot_domain | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |