get_picture
Retrieve a person's photo ID image from S2 NetBox by PERSONID. Returns Base64 JPEG data plus photo URL and details; use the URL to identify the file before requesting the image.
Instructions
Returns a person's photo ID image (wraps NBAPI GetPicture). The response's PICTURE field is a Base64-encoded JPEG and may be very large — a full-size badge photo runs to hundreds of kilobytes of Base64 text, so prefer PICTUREURL when you only need to identify the file. The response also carries PERSONID, PICTUREURL, LASTNAME, FIRSTNAME and LASTMOD. The payload is passed through unmodified: this tool neither decodes, resizes nor truncates the Base64 string. A person with no photo answers FAIL with "No picture URL for this person ID" or "Picture file does not exist"; an oversized image answers "Person picture image file size exceeds maximum to be returned/exported".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| PERSONID | Yes | Required. The PERSONID of the person whose picture should be retrieved. |