AgentforceAttachment

interface AgentforceAttachment

Agentforce Attachment data classes

PropertyTypeDescription
attachmentDataAgentforceAttachment.AttachmentDataAttachment data containing source URI and ID
mimeTypeString?MIME type of the attachment
MethodSignatureDescription
attachmentTypefun attachmentType(): AgentforceAttachment.AgentforceAttachmentTypeReturns the type of attachment

Entries:

  • Image
  • PDF
  • SalesforceFile

Image and PDF are the attachment types supported for multimodal input to the AI agent. SalesforceFile covers files relayed through Salesforce outside of that input path, such as files a human agent shares during a conversation handoff.

ClassDescription
ImageImage attachment implementation
PDFPDF attachment implementation
SalesforceFileSalesforce file attachment implementation