Get Attachment Info
get_attachment_infoRetrieve metadata for a specific attachment by its sys_id, including file name, content type, size, and the record it is attached to.
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 |
|---|---|---|---|
| sys_id | Yes | The sys_id of the attachment to retrieve. | |
| instance | No | The ServiceNow instance auth alias (e.g., "myinstance", "prod"). If not provided, falls back to the SN_AUTH_ALIAS environment variable. |