> For the complete documentation index, see [llms.txt](https://docs.stackai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackai.com/stackai-mcp/tool-reference/projects-and-workflow-authoring.md).

# Projects and workflow authoring

Choose a tool by the result you need. Read tools inspect resources. Change tools save or publish data. Run tools execute a workflow or evaluator.

| Tool                                                                                                                         | Effect | Use it to                                                                                                                                                                                   |
| ---------------------------------------------------------------------------------------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [projects\_list](/stackai-mcp/tool-reference/projects-and-workflow-authoring/projects-list.md)                               | Read   | Discover accessible project IDs, names, owners, project URLs and is\_published.                                                                                                             |
| [projects\_get](/stackai-mcp/tool-reference/projects-and-workflow-authoring/projects-get.md)                                 | Read   | Read project metadata, UI/input configuration and a paginated graph. version="published" is the default, but falls back to draft when no published version exists; inspect source\_version. |
| [projects\_create](/stackai-mcp/tool-reference/projects-and-workflow-authoring/projects-create.md)                           | Change | Generate a new project from a natural-language description and attempt to publish it.                                                                                                       |
| [projects\_edit](/stackai-mcp/tool-reference/projects-and-workflow-authoring/projects-edit.md)                               | Change | Modify an existing draft with exactly one of description or direct\_patch.                                                                                                                  |
| [projects\_edit\_ui](/stackai-mcp/tool-reference/projects-and-workflow-authoring/projects-edit-ui.md)                        | Change | Merge updates into a draft’s UI options without changing nodes or edges.                                                                                                                    |
| [projects\_import](/stackai-mcp/tool-reference/projects-and-workflow-authoring/projects-import.md)                           | Change | Create a new draft from a parsed exported workflow\_json object, optionally overriding project\_name and folder\_id.                                                                        |
| [projects\_validate](/stackai-mcp/tool-reference/projects-and-workflow-authoring/projects-validate.md)                       | Read   | Run preflight checks on the saved draft, including graph integrity, providers/actions, connections and action parameters.                                                                   |
| [projects\_validate\_flow\_json](/stackai-mcp/tool-reference/projects-and-workflow-authoring/projects-validate-flow-json.md) | Read   | Validate an unsaved flow\_json object containing nodes and edges without saving it.                                                                                                         |
| [projects\_get\_corrections](/stackai-mcp/tool-reference/projects-and-workflow-authoring/projects-get-corrections.md)        | Read   | Revalidate the current draft’s action parameters and page through corrections.                                                                                                              |
| [projects\_run](/stackai-mcp/tool-reference/projects-and-workflow-authoring/projects-run.md)                                 | Run    | Run a published project and return its output.                                                                                                                                              |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stackai.com/stackai-mcp/tool-reference/projects-and-workflow-authoring.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
