get_attachment_metadata
Retrieve attachment metadata (name, type, size) by providing the attachment sys_id. Quickly fetch details needed to verify or manage files in ServiceNow.
Instructions
Get metadata (name, type, size) of a specific attachment by its sys_id
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": {
"attachment_sys_id": "<attachment_sys_id>"
},
"name": "get_attachment_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachment_sys_id | Yes | Attachment sys_id |