axiom_graph_workflow_export

axiom_graph.mcp.server.axiom_graph_workflow_export(project_root, workflow_ids=None, files=None, output_path=None, format='html')

Write workflows and their source code to one shareable HTML page or JSON bundle.

The page is self-contained: the outline of each workflow, every step, and the source of every file a step or its delegate target is written in, with no external references, so it opens offline and can be sent to someone without the repository. It is the same page the dashboard’s export button opens and axiom-graph workflows export writes. The tool writes the file and returns its path and counts, not the page.

Parameters:
project_root str

Absolute path to the indexed project.

workflow_ids list[str] | None

Workflow or task names, or node IDs from axiom_graph_workflow_list. Workflows and tasks can be mixed.

files list[str] | None

Source files, relative to the project root, whose every workflow and task is exported.

output_path str | None

File to write. A relative path resolves against project_root. Default: workflow-export.html (or .json) in project_root.

format str

"html" (the default) for the page, "json" for the bundle.

Returns:

Wrote <path>: N workflows · M files, or an ERROR: line naming every id or file that matched nothing. Nothing is written on error.

Return type:

str