Skip to main content
Server path: /servicenow-attachment | Type: Application | PCID required: Yes

Tools

ToolDescription
servicenow_attachment_delete_fileDelete an attachment
servicenow_attachment_download_fileDownload attachment file content
servicenow_attachment_get_file_infoGet attachment metadata
servicenow_attachment_list_filesList attachments
servicenow_attachment_upload_fileUpload a file attachment to a record

servicenow_attachment_delete_file

Delete an attachment Parameters:
ParameterTypeRequiredDefaultDescription
sys_idstringYessys_id of the attachment to delete

servicenow_attachment_download_file

Download attachment file content Parameters:
ParameterTypeRequiredDefaultDescription
sys_idstringYessys_id of the attachment to download

servicenow_attachment_get_file_info

Get attachment metadata Parameters:
ParameterTypeRequiredDefaultDescription
sys_idstringYessys_id of the attachment record

servicenow_attachment_list_files

List attachments Parameters:
ParameterTypeRequiredDefaultDescription
sysparm_querystringNoEncoded query filter (e.g., ‘table_name=incident^table_sys_id=<sys_id>‘)
sysparm_limitintegerNoMaximum number of attachments to return
sysparm_offsetintegerNoStarting index for pagination

servicenow_attachment_upload_file

Upload a file attachment to a record Parameters:
ParameterTypeRequiredDefaultDescription
table_namestringYesName of the table the record belongs to (e.g., incident)
table_sys_idstringYessys_id of the record to attach the file to
file_namestringYesFile name including extension (e.g., report.pdf, screenshot.png)
encryption_contextstringNosys_id of an encryption context to encrypt the attachment
bodystringYesFile content as a string. For text files (CSV, JSON, XML, plain text), provide the raw content. Binary files are not supported through MCP.