Create strategy
create_strategyCreate a new autotrade strategy preset. After creating, link it to the user via update_autotrade_settings with strategyId to activate it. Make it public to share with the community.
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": {
"name": "<name>",
"strategy": "<strategy>"
},
"name": "create_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Strategy name (e.g. "DeFi Blue Chips") | |
| userId | No | The user ID. Optional when connected with OAuth (defaults to the authorized user); required with an API key (call get_me). | |
| isPublic | No | Make discoverable by other users | |
| strategy | Yes | Trading strategy type: VALUE INVESTOR, SWING TRADER, SCALPER, or CUSTOM | |
| allocation | No | Target allocation by asset class | |
| description | No | Human-readable description of what this strategy does | |
| instructions | No | Free-text instructions for Milo when following this strategy | |
| customTickers | No | Specific tokens to focus on |