/servicenow-attachment | Type: Application | PCID required: Yes
Tools
| Tool | Description |
|---|---|
servicenow_attachment_delete_file | Delete an attachment |
servicenow_attachment_download_file | Download attachment file content |
servicenow_attachment_get_file_info | Get attachment metadata |
servicenow_attachment_list_files | List attachments |
servicenow_attachment_upload_file | Upload a file attachment to a record |
servicenow_attachment_delete_file
Delete an attachment Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
sys_id | string | Yes | — | sys_id of the attachment to delete |
servicenow_attachment_download_file
Download attachment file content Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
sys_id | string | Yes | — | sys_id of the attachment to download |
servicenow_attachment_get_file_info
Get attachment metadata Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
sys_id | string | Yes | — | sys_id of the attachment record |
servicenow_attachment_list_files
List attachments Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
sysparm_query | string | No | — | Encoded query filter (e.g., ‘table_name=incident^table_sys_id=<sys_id>‘) |
sysparm_limit | integer | No | — | Maximum number of attachments to return |
sysparm_offset | integer | No | — | Starting index for pagination |
servicenow_attachment_upload_file
Upload a file attachment to a record Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
table_name | string | Yes | — | Name of the table the record belongs to (e.g., incident) |
table_sys_id | string | Yes | — | sys_id of the record to attach the file to |
file_name | string | Yes | — | File name including extension (e.g., report.pdf, screenshot.png) |
encryption_context | string | No | — | sys_id of an encryption context to encrypt the attachment |
body | string | Yes | — | File content as a string. For text files (CSV, JSON, XML, plain text), provide the raw content. Binary files are not supported through MCP. |

