Generate API Documentation
sdd_generate_api_docsExtracts API endpoints from DESIGN.md and generates structured API documentation with request/response examples for each feature.
Instructions
Extracts API endpoints from DESIGN.md and generates structured API documentation with request/response examples. Writes to docs/api-{feature}.md.
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": {
"feature_number": "<feature_number>"
},
"name": "sdd_generate_api_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_dir | No | Spec directory. | .specs |
| feature_number | Yes | Zero-padded feature number. |