vtex_get_attachment_by_id
Fetches information about a registered VTEX attachment using its attachment ID, enabling you to inspect attachment details and configuration.
Instructions
[GET] Get attachment by ID | Category: Attachment | Path: /api/catalog/pvt/attachment/:attachmentid | Description: Gets information about a registered attachment. >⚠️ To understand the specific syntax for Assembly Options attachments, read the [Assembly Options](https://help.vtex.com/en/tutorial/assembly-option | Path params: attachmentid
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": {
"attachmentid": "<attachmentid>"
},
"name": "vtex_get_attachment_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachmentid | Yes | Path parameter: attachmentid |