generateSpecFromCollection
Generates an API specification from a Postman collection. Returns a polling link to track the task status.
Instructions
Generates an API spec for a collection. Returns polling link to task status.
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": {
"collectionUid": "<collectionUid>",
"name": "<name>",
"elementType": "<elementType>",
"format": "<format>",
"type": "<type>"
},
"name": "generateSpecFromCollection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collectionUid | Yes | Collection unique ID | |
| name | Yes | API spec name | |
| elementType | Yes | The 'spec' value | |
| format | Yes | Format (openapi, asyncapi, etc.) | |
| type | Yes | Specification type |
Implementation Reference
- tests/test_postman.py:90-90 (registration)The test file confirms 'generateSpecFromCollection' is expected as one of the 41 registered tool names.
"generateSpecFromCollection",