attachment
List, fetch, or download attachments linked to ServiceNow records. Specify action, record, or file name to retrieve the attachment you need.
Instructions
Read attachments. action: 'list' | 'get' | 'download' | 'download_by_name'.
Args: action: One of: list, get, download, download_by_name. sys_id: Attachment sys_id (for get, download). table: Parent table (for list, download_by_name). table_sys_id: Parent record sys_id (for list, download_by_name). file_name: File name (for download_by_name).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | ||
| action | Yes | ||
| sys_id | No | ||
| file_name | No | ||
| table_sys_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |