Get Attachment Info
get_attachment_infoRetrieve metadata for a ServiceNow attachment by its sys_id, including file name, content type, size, and associated record.
Instructions
Get metadata for a specific attachment by its sys_id. Returns file name, content type, size, and the record it is attached to.
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. | |
| sys_id | Yes | The sys_id of the attachment to retrieve. |