AIDocumentProcessingRunOptions
Properties
capabilities : AICapabilitiesConfigAdvanced | undefinedmodule:ai/aidocumentprocessing/aidocumentprocessinggateway~AIDocumentProcessingRunOptions#capabilitiesPer-call AI capability directives.
webSearchtoggles web search;reasoningtoggles reasoning and optionally selects a level (see AIReasoningLevel). Omitting the option or leaving all flags falsy disables both capabilities for this call.model : stringmodule:ai/aidocumentprocessing/aidocumentprocessinggateway~AIDocumentProcessingRunOptions#modelThe model that will be used to run the document processing request. The IDs of an AI models can be acquired via
getAvailableModelscall.roots : Array<AIEditorRoot> | undefinedmodule:ai/aidocumentprocessing/aidocumentprocessinggateway~AIDocumentProcessingRunOptions#rootsThe roots to process. When omitted, every non-
$graveyardroot across every editor in the currentContextis processed. When provided, only the listed roots are processed; the order of entries inrootsis treated as a set-membership filter and does not affect the payload order.Each entry's
channelIdmust match thecollaboration.channelIdconfig of the target editor instance.rootNamemust match an existing, non-$graveyardroot within that editor.
Value
AIRunBaseOptions & object