Build: create an index
build_create_indexLaunch a new index fund: the wallet seeds it with the exact amount of each basket token (it must hold them) and receives initialShares shares. The seed amounts set the weights. Returns the approvals and the factory deployment call, plus the new index's predicted address.
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>",
"name": "<name>",
"symbol": "<symbol>",
"assets": "<assets>"
},
"name": "build_create_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | e.g. "AI Agents Index" | |
| assets | Yes | ||
| symbol | Yes | ticker, 1–12 letters/digits, e.g. "AGENT5" | |
| wallet | Yes | the agent's wallet address — the one that will sign and send the calls | |
| mandate | No | the index's investment mandate, shown to buyers | |
| proposer | No | who may propose rebalances (default: wallet) | |
| tvlFeePct | No | management fee in % per year (max 0.2) | |
| mintFeePct | No | fee on each mint, in % (max 0.5) | |
| feeRecipient | No | who receives the fees (default: wallet) | |
| initialShares | No | shares minted for the seed, as a decimal string, e.g. "25" or "0.5" | 100 |
| auctionMinutes | No | rebalance auction length |