Skip to content

show_dataflow tool

Use show_dataflow to show a person the dataflow as a chart and a table, in a host that renders MCP Apps. It runs as graph does and returns a view built with Prefab, which the host draws with the server's renderer resource. A host that does not render apps gets the JSON of graph as text.

show_dataflow(paths)
  • Changes no file
  • A second call with the same arguments changes nothing more
  • Stays inside the project

Tags: app, dataflow.

The server gives the agent this description of the tool.

Show what graph reads as a flowchart of steps or nodes and a table of its problems, in hosts that render MCP Apps. Use graph when you need the data.

Type: list of string. Required.

Files or folders inside the project root.

The tool declares no output schema.

{"paths":["samples/graph/steps.py"]}

The text content of the result is the report of graph. The first step of its one pipeline is shown without its columns, and "..." stands for the other steps.

{"pipelines":[{"name":"features","file":"samples/graph/steps.py","line":51,"steps":[{"name":"totals","kind":"function","line":18},"..."]}]}

The errors are those of graph.