list_attachments
Retrieve attachments for any ServiceNow record by specifying the table name and record sys_id. Optionally set a limit to control the number of results returned.
Instructions
List attachments associated with a specific record
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"table": "<table>",
"record_sys_id": "<record_sys_id>"
},
"name": "list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max records to return (default 25) | |
| table | Yes | Table name (e.g. "incident") | |
| record_sys_id | Yes | sys_id of the record whose attachments to list |