vtex_get_collection_by_id
Retrieves a VTEX collection by its collection ID, enabling you to inspect details for collections configured through the Legacy CMS Portal.
Instructions
[GET] Get collection by ID | Category: Collection | Path: /api/catalog/pvt/collection/:collectionId | Description: >⚠️ There are two ways to configure collections, through Legacy CMS Portal or using the Beta Collection module. This endpoint is compatible with [collections configured through the Legacy CMS Portal] | Path params: collectionId
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": {
"collectionId": "<collectionId>"
},
"name": "vtex_get_collection_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collectionId | Yes | Path parameter: collectionId |