generate_api_docs
Create human-readable markdown API documentation from an OpenAPI specification with request and response examples.
Instructions
Generate markdown documentation from an OpenAPI specification. Creates human-readable API documentation with examples.
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": {
"spec": "<spec>"
},
"name": "generate_api_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | OpenAPI specification as JSON string | |
| includeExamples | No | Include request/response examples (default: true) |