Create a new strategy workspace
create_strategyCreates a new strategy workspace with main.py and requirements.txt. By default (template omitted or "neutral"), starter files are neutral boilerplate only; they do not encode customer-specific strategy logic or fake validation trades. External MCP clients can optionally select a verified runnable starter template via template ("stock_ma_crossover", "rsi_mean_reversion", "opening_range_breakout", "options_wheel", or "crypto_trend"). After creation, use the returned files manifest instead of rediscovering starter paths. Use list_files for missing or stale discovery. Use replace_file, patch_file, and create_file to implement the strategy; each save result confirms what was saved and returns the revisionId to validate. When this user has not linked data that some asset class needs for a backtest, the result says so in backtestData. Before writing code, load BotSpot's free strategy-building skills: call skills (action=get, name=strategy-building-core) or skills (action=list) for all guides and templates, and follow them, including existing plan progress and Rules; do not replace the plan merely to record workspace creation. For the first real main.py implementation after neutral starter creation, use replace_file with the main.py editHandle from the returned files manifest; no get_file is needed first. Keep the if __name__ == "__main__": run block at the end of main.py (IS_BACKTESTING -> Strategy.backtest(...), else Trader); without it start_backtest refuses the revision. This is the default first-build path for BotSpot strategy creation after the user clearly asks to build/create/make/generate/implement/code a strategy, or asks to turn prior trading or competition rules into a clean/tighter/easier-for-agent prompt in this product flow. Do not use this tool when the current conversation/context already has an attached, current, open, or saved strategy/revision and the user asks to update, edit, fix, refine, change, or make that strategy buy/sell differently. For attached/current strategy edits, use get_file plus patch_file or replace_file on the existing revision; the save result confirms the saved revision. Do not use this tool for advice, critique, feedback, risk assessment, review, planning, or 'what do you think' turns.
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>"
},
"name": "create_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required human-readable strategy title. Use natural words or title case, such as "Competition Risk Trader". Do not use slug-style, snake_case, kebab-case, file names, or lowercase underscore names such as competition_prompt_cleanup. | |
| template | No | Optional starter template. Omit or pass "neutral" for the minimal neutral LumiBot skeleton. External MCP clients can also pick a verified runnable starter: "stock_ma_crossover", "rsi_mean_reversion", "opening_range_breakout", "options_wheel", or "crypto_trend". | |
| description | No | Optional notes for the initial revision |