Optional
discardWhether Squid keeps or discards the original file.
Keeping the original file allows reprocessing and the ability for the user to download it later.
Defaults to false.
Optional
extractWhether to extract images from the file; defaults to false.
Optional
imageThe AI model to use for extraction, if specified.
Optional
imageThe minimum size for extracted images, if applicable.
Optional
metadataOptional
optionsGeneral options for how to process the file.
Optional
preferredThe preferred method for extracting data from the document.
Specifies the context type as 'file'.
Request structure for adding file-based context to an AI agent.