generate-pdd
Assembles a Product Definition Document from saved Phase 1 and Phase 2 robot outputs, returning a payload for composing and saving the final PDD JSON.
Instructions
Assemble a Product Definition Document (PDD) for a product that has completed Phase 2.
HOW IT WORKS:
This tool loads every robot output saved to disk (Phase 1 + Phase 2) via save-robot-output.
It returns a structured assemblyPayload with all those outputs, plus metadata.
Claude uses that payload to compose the final PDD JSON according to the schema provided.
After Claude generates the PDD JSON, call 'save-pdd' with the full JSON to persist it.
WHEN TO CALL:
After all required Phase 2 robots have run and their outputs saved via 'save-robot-output'.
Can be called with partial output (not all robots need to have run) — missing sections will be marked as incomplete in the PDD status tracker.
WORKFLOW:
Call generate-pdd → receive assemblyPayload
Claude assembles PDD JSON using the payload (role + mandate + schema all included)
Call save-pdd with the JSON Claude produced
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"productSlug": "<productSlug>"
},
"name": "generate-pdd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| epicId | No | Optional epic ID to generate a scoped PDD for | |
| pddVersion | No | Explicit version override, e.g. '1.2.0'. Defaults to auto-incrementing the patch version. | |
| productSlug | Yes | The product slug |