Skip to main content
Drafters write templates like {{releases.0.tagName}} from what a tool returns. recent_releases doesn’t say yet.

Record a shape by running the tool

graph records the shape of each successful result. Before the first call, there’s nothing for recent_releases:
Call it once:
The shape is now cached, with a schema inferred from the result and an example:

Declare the output schema

A recorded shape only exists after a run, and it can’t say what a field means. Add output_schema to the tool file:
.graph/tools/recent_releases.yaml
graph tool show now lists it, and drafters use it in place of the recorded shape:

Test a tool

Call a tool with input and read its result or error.

Filter and override a server's tools

Declare output shapes for an MCP server’s tools.

Draft a plan in the workbench

Draft a plan from the tools in your catalog.

Create a tool in the workbench

Draft, test-run and save a tool with the tool drafter.