get-project-state
What it does
Section titled “What it does”Reads the project’s .mistflow/state.json and returns the current state: project name, plan, completed steps, deploy history, and configuration.
| Parameter | Type | Required | Description |
|---|---|---|---|
projectPath | string | No | Path to the project directory (default: cwd) |
Output
Section titled “Output”Returns the full project state object including:
- Project name and template
- Build plan with step completion status
- Last deploy URL and status
- Connected integrations (GitHub, custom domain)
- This is a read-only tool. It never modifies state.
- The AI uses this to understand what’s already been built before making changes.
- State is stored locally in
.mistflow/state.jsonand synced to the Mistflow API.