Uses of Record Class
io.meeds.mcp.server.tool.util.UploadToolUtils.FetchedContent
Packages that use UploadToolUtils.FetchedContent
-
Uses of UploadToolUtils.FetchedContent in io.meeds.mcp.server.tool.util
Methods in io.meeds.mcp.server.tool.util that return UploadToolUtils.FetchedContentModifier and TypeMethodDescriptionUploadToolUtils.fetchImage(String url, long maxBytes) Downloads an image over http(s) after validating the URL against SSRF.Downloads any file (not restricted to images) over http(s) after validating the URL against SSRF.UploadToolUtils.resolveImage(org.exoplatform.social.attachment.AttachmentService attachmentService, org.exoplatform.commons.file.services.FileService fileService, org.exoplatform.services.security.Identity aclIdentity, UploadToolUtils.ImageSource source, long maxBytes) Resolves an image from exactly one of three mutually exclusive sources — an http(s) URL, a base64 string, or an ACL-checked reference to a file already attached to a platform object (attachment_object_type+attachment_object_id) — into its raw bytes.