List Record Attachments
servicenow_list_attachmentsList attachments for ServiceNow records or tables, filter by filename substring, and retrieve metadata with download links and paginated results.
Instructions
List file attachments for a ServiceNow record or query across all attachments.
Args:
table_name (string): Table the attachment belongs to (e.g., incident, change_request)
table_sys_id (string): sys_id of the specific record. Leave empty to list all attachments for the table.
file_name_contains (string): Filter by filename substring
limit / offset: Pagination
response_format: Output format
Returns: Attachment metadata including filename, content type, size, and download link
Examples:
List attachments on INC0001234 → table_name="incident", table_sys_id=""
Find all PDFs on change requests → table_name="change_request", file_name_contains=".pdf"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (1–100, default 20) | |
| offset | No | Number of results to skip for pagination (default 0) | |
| table_name | Yes | ServiceNow table name (e.g., incident, change_request, sys_user) | |
| table_sys_id | No | sys_id of the parent record (empty = all records in table) | |
| response_format | No | Output format: 'markdown' (default) for human-readable or 'json' for structured data | markdown |
| file_name_contains | No | Filter by filename substring |