init_project
Initiate a new project using bundled templates to scaffold research notebooks, live trading bots, or indicator packages.
Instructions
Create a new FLOX project from a bundled template. Thin wrapper around the canonical flox new CLI — the CLI stays the source of truth, this tool only makes it discoverable from MCP. Use when the user asks 'set up a new flox project' / 'I want to scaffold a research notebook' / 'start a live trading bot'. Three templates ship with flox-py: research (notebook + sample data + main.py), live (CCXT broker + dry-run safety harness), indicator-library (standalone indicator package with tests). Result includes the CLI output and a Next steps section with docs_search queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_name | Yes | Directory name for the new project. Created under `target_dir`. Special characters in the name become snake_case in the bundled `__PROJECT_SLUG__`. | |
| template | Yes | Template to scaffold from. Required. | |
| target_dir | No | Parent directory the project is created under. Default: current working dir. |