read_attachment
Extract text content from ServiceNow attachments in txt, csv, json, xml, html, md, log formats. Ideal for summarizing or drafting based on files stored in ServiceNow.
Instructions
Read an existing ServiceNow attachment and return its text content, server-side. Works for text formats (txt, csv, json, xml, html, md, log). Binary formats (PDF, DOCX, images) return metadata plus a note. Use this to summarise or draft from a file already in ServiceNow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_chars | No | Max characters of text to return (default 200000) | |
| attachment_sys_id | Yes | sys_id of the attachment to read |