/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 |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"sys_id": {
"type": "string",
"description": "sys_id of the attachment to delete"
}
},
"required": [
"PCID",
"sys_id"
]
}
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 |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"sys_id": {
"type": "string",
"description": "sys_id of the attachment to download"
}
},
"required": [
"PCID",
"sys_id"
]
}
servicenow_attachment_get_file_info
Get attachment metadata Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
sys_id | string | Yes | — | sys_id of the attachment record |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"sys_id": {
"type": "string",
"description": "sys_id of the attachment record"
}
},
"required": [
"PCID",
"sys_id"
]
}
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 |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"sysparm_query": {
"type": "string",
"description": "Encoded query filter (e.g., 'table_name=incident^table_sys_id=<sys_id>')"
},
"sysparm_limit": {
"type": "integer",
"description": "Maximum number of attachments to return"
},
"sysparm_offset": {
"type": "integer",
"description": "Starting index for pagination"
}
},
"required": [
"PCID"
]
}
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. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"table_name": {
"type": "string",
"description": "Name of the table the record belongs to (e.g., incident)"
},
"table_sys_id": {
"type": "string",
"description": "sys_id of the record to attach the file to"
},
"file_name": {
"type": "string",
"description": "File name including extension (e.g., report.pdf, screenshot.png)"
},
"encryption_context": {
"type": "string",
"description": "sys_id of an encryption context to encrypt the attachment"
},
"body": {
"type": "string",
"description": "File content as a string. For text files (CSV, JSON, XML, plain text), provide the raw content. Binary files are not supported through MCP."
}
},
"required": [
"PCID",
"table_name",
"table_sys_id",
"file_name",
"body"
]
}

