Skip to main content
With the Workbench connected, you author shapes through the shape_workbench_* tools. You drive them conversationally in your AI client; this page is the map of what they do. A shape edit is a session. You open a draft, modify the model, compile to check it, and materialize when you are happy. Drafts do not affect the live graph until you materialize.

Open a session

ToolWhat it does
shape_workbench_openStart a draft session against a project (mode: "new" or open an existing shape).
shape_workbench_propose_shapeGenerate an initial draft from a plain-language domain brief.
shape_workbench_access_statusCheck what you can edit in this session.

Model your domain

ToolWhat it does
shape_workbench_edit_shapeEdit shape-level metadata (name, display name, description, adherence).
shape_workbench_add_typeAdd an entity type, with its properties. New fields are defined here, at type creation.
shape_workbench_edit_typeEdit a type’s metadata (description, display name, titular field).
shape_workbench_edit_propertyEdit an existing property on a type (schema patch, required flag).
shape_workbench_rename_propertyRename a property while preserving its identity.
shape_workbench_reserve_propertyRemove a property and reserve its name.
shape_workbench_add_relationshipAdd a relationship between types.
shape_workbench_edit_relationshipEdit a relationship.
shape_workbench_rename_relationshipRename a relationship while preserving its identity.
shape_workbench_reserve_relationshipRemove a relationship and reserve its name (requires a rationale).
shape_workbench_remove_relationshipRemove a relationship.

Compile and inspect

ToolWhat it does
shape_workbench_compileCompile the draft to validate it and get its version hashes.
shape_workbench_inspectInspect the current draft state.
shape_workbench_export_schemaExport the compiled schema.
shape_workbench_preview_operating_surfacePreview the tools this shape will expose to agents.

Diff and version

ToolWhat it does
shape_workbench_diffDiff the draft against the committed shape.
shape_workbench_project_grammarRead the committed shapes attached to a project and validate relationship rules across them.
shape_workbench_version_graphView the shape’s version history.
shape_workbench_plan_migrationPlan a migration between versions.
shape_workbench_assert_version_alignmentConfirm a session is aligned to a version.

A typical session

A conversational pass in your client looks like this:
  1. shape_workbench_open against your project with mode: "new".
  2. shape_workbench_add_type for each entity type, with its properties.
  3. shape_workbench_add_relationship to connect them.
  4. shape_workbench_compile to validate and get version hashes.
  5. shape_workbench_preview_operating_surface to see the runtime tools the shape will expose.
  6. When it looks right, materialize it to the project.
Compile early and often. The compile result tells you whether the model is coherent before you materialize anything.