copy_attachment
Copy an existing attachment to a target record by providing sys_ids. The file transfers server-side without passing through the client, ideal for duplicating documents across ServiceNow records.
Instructions
Copy an existing ServiceNow attachment onto another record, entirely server-side (requires WRITE_ENABLED=true). The file bytes never pass through this tool call. Ideal for "attach the same document from this record onto that KB / incident".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | No | Optional new file name (defaults to the source name) | |
| target_table | Yes | Table to copy the attachment to (e.g. "kb_knowledge") | |
| attachment_sys_id | Yes | sys_id of the source attachment to copy | |
| target_record_sys_id | Yes | sys_id of the target record |