List Attachments
list_attachmentsRetrieve metadata of file attachments for any ServiceNow record, including file name, content type, and size. Use to discover attached files on incidents, changes, or catalog items.
Instructions
List file attachments on a ServiceNow record. Returns metadata for each attachment including file name, content type, and size.
Use this to discover what files are attached to incidents, changes, catalog items, or any other record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | The ServiceNow instance auth alias (e.g., "myinstance", "prod"). If not provided, falls back to the SN_AUTH_ALIAS environment variable. | |
| table | Yes | The table name the record belongs to (e.g., "incident", "change_request"). | |
| record_sys_id | Yes | The sys_id of the record to list attachments for. | |
| limit | No | Maximum number of attachments to return. Default 50. |