Get a collection's generated specs
getGeneratedCollectionSpecsRetrieves the generated API specification for a Postman collection by its unique ID, so AI agents can inspect specs for automation or validation.
Instructions
Gets the API specification generated for the given collection.
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>",
"elementType": "<elementType>"
},
"name": "getGeneratedCollectionSpecs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elementType | Yes | The `spec` value. | |
| collectionUid | Yes | The collection's unique ID. |