Skip to content

get-project-state

Reads the project’s .mistflow/state.json and returns the current state: project name, plan, completed steps, deploy history, and configuration.

ParameterTypeRequiredDescription
projectPathstringNoPath to the project directory (default: cwd)

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.json and synced to the Mistflow API.