ragie

v1.0.2
com.mcparmory/ragie Checked 2 days ago Published 6 months ago

Ingest, manage, and retrieve documents for RAG-powered AI applications

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_documents List Documents

Retrieve a paginated list of all documents sorted by creation date (newest first). Use the page_size parameter to control results per page and the filter parameter to search by metadata. When more results are available, a cursor will be provided for fetching the next page.

ParameterTypeDescription
filterstringMetadata filter expression to narrow results. Supports operators like $eq (equal), $ne (not equal), $gt/$gte (greater than), $lt/$lte (less than), $in/$nin (array membership), and logical AND/OR combi…
page_sizeintegerNumber of documents to return per page. Must be between 1 and 100 items. Defaults to 10 if not specified.

create_document Create Document

Upload and ingest a document for processing and retrieval. The document progresses through multiple processing stages (pending → partitioning → indexed → ready) and becomes available for retrieval once it reaches the ready state.

ParameterTypeDescription
file *stringBase64-encoded file content for upload. The binary file to upload and index. Supported formats include plain text (.txt, .md, .json, .html, .xml, .eml, .msg, .rst, .rtf), images (.png, .jpg, .jpeg, .w…
external_idstringOptional external identifier for the document, such as an ID from an external system or the source URL where the file originates.
metadataobjectCustom metadata key-value pairs to attach to the document. Keys must be strings; values can be strings, numbers (integers or floats), booleans, or lists of strings. Up to 1000 total values are allowed…
modeobjectProcessing mode configuration for document ingestion. Accepts either an object with detailed mode settings or a scalar shorthand value.
namestringOptional display name for the document. If provided, this name will be used; otherwise, the uploaded file's name will be used as the document name.
workflowstringProcessing workflow to apply to the document. Choose 'parse' for document parsing or 'index' for indexing operations.

create_document_from_text Create Document from Text

Ingest a document as raw text for processing through an automated pipeline. The document progresses through multiple stages (pending → partitioning → indexed → ready) and becomes available for retrieval once it reaches the ready state.

ParameterTypeDescription
data *The document content as raw text or JSON. Must contain at least 1 character.
external_idstringOptional external identifier for cross-referencing with other systems, such as a database ID or source URL.
metadataobjectOptional key-value metadata to attach to the document. Keys must be strings; values can be strings, numbers, booleans, or lists of strings. Up to 1000 total values are allowed (each array item counts…
namestringOptional human-readable name for the document. If not provided, defaults to the current timestamp.
workflowstringOptional processing stage to stop at. Use 'parse' to extract elements only, or 'index' (or omit) to run the full processing pipeline including chunking and indexing.

ingest_document_from_url Ingest Document from URL

Ingest a document from a publicly accessible URL for processing and retrieval. The document progresses through multiple processing stages (pending → partitioning → indexed → ready) before becoming available for retrieval, with optional extraction of images, tables, and media content based on the selected partition strategy.

ParameterTypeDescription
url *stringURL of the file to ingest. Must be publicly accessible via HTTP or HTTPS, between 1 and 2083 characters in length, and a valid URI format.
external_idstringOptional external identifier for the document, such as an ID from an external system or the source URL where the file originates.
metadataobjectOptional key-value metadata to attach to the document. Keys must be strings; values can be strings, numbers, booleans, or lists of strings. Up to 1000 total values are allowed (each array item counts…
modePartition strategy controlling how the document is processed. For text documents, use `'hi_res'` to extract images and tables (slower, ~20x), or `'fast'` for text only. For audio/video, specify proces…
namestringOptional human-readable name for the document. If not provided, a default name will be assigned.
workflowstringOptional processing stage to stop at. Set to `'parse'` to extract elements only, or `'index'` (default) to complete the full processing pipeline including indexing and summarization.

get_document Get Document

Retrieve a specific document by its unique identifier. Returns the full document details including metadata and content.

ParameterTypeDescription
document_id *stringThe unique identifier of the document to retrieve, formatted as a UUID (universally unique identifier).

delete_document Delete Document

Permanently delete a document by its unique identifier. Supports both synchronous and asynchronous deletion modes.

ParameterTypeDescription
document_id *stringThe unique identifier of the document to delete, formatted as a UUID.
asyncbooleanWhen true, the deletion is performed asynchronously and returns immediately without waiting for completion. Defaults to false for synchronous deletion.

update_document_file Update Document File

Replace the file content of an existing document. The uploaded file will be extracted, processed, and indexed for retrieval. Supports text formats (plain text, markdown, email, HTML, XML, JSON, RST, RTF), images (PNG, WebP, JPEG, TIFF, BMP, HEIC), and documents (PDF, Word, Excel, PowerPoint, CSV, EPUB, ODT).

ParameterTypeDescription
document_id *stringThe unique identifier of the document to update, formatted as a UUID.
file *stringBase64-encoded file content for upload. The binary file to upload and process. Supported formats include text files (.txt, .md, .json, .html, .xml, .eml, .msg, .rst, .rtf), images (.png, .jpg, .jpeg,…
modeobjectOptional processing mode configuration that controls how the file is extracted and indexed. Accepts either an object with detailed settings or a scalar shorthand value.

update_document_raw Update Document Raw

Replace the raw content of an existing document with new text or JSON data. This operation overwrites the entire document content.

ParameterTypeDescription
data *The new document content as text or JSON. Must contain at least one character.
document_id *stringThe unique identifier of the document to update, formatted as a UUID.

update_document_from_url Update Document from URL

Update a document by ingesting content from a publicly accessible URL. The document progresses through multiple processing states (pending → indexed → ready) before becoming available for retrieval, with optional high-resolution processing for extracting images and tables.

ParameterTypeDescription
document_id *stringThe unique identifier of the document to update, formatted as a UUID.
url *stringPublic HTTP or HTTPS URL of the file to ingest. Must be publicly accessible and between 1 and 2083 characters in length.
modeProcessing strategy for document ingestion. For text documents, use 'hi_res' to extract images and tables (slower, ~20x) or 'fast' for text-only extraction. For audio, use true/false to enable process…

update_document_metadata Update Document Metadata

Partially update a document's metadata with new or modified key-value pairs. Reserved keys (document_id, document_type, document_source, document_name, document_uploaded_at) cannot be modified. For connection-managed documents, updates create a metadata overlay applied on each sync.

ParameterTypeDescription
document_id *stringThe UUID identifier of the document to update.
metadata *objectA partial metadata object with string keys and values that are strings, numbers, booleans, or lists of strings. Set a key to null to delete it. Up to 1000 total values are allowed across all metadata…
asyncbooleanIf true, the update runs asynchronously in the background and returns a 202 response; if false (default), it runs synchronously and returns a 200 response.

list_document_chunks List Document Chunks

Retrieve all chunks from a document, sorted by index in ascending order. Results are paginated with a maximum of 100 chunks per page; use the cursor parameter to fetch subsequent pages. Documents created before September 18, 2024 that haven't been updated may have chunks with index -1, sorted by ID instead.

ParameterTypeDescription
document_id *stringThe unique identifier (UUID) of the document to retrieve chunks from.
end_indexintegerThe inclusive ending index for filtering chunks by range. If specified alone, returns only the chunk at this index. If both start_index and end_index are omitted, all chunks are returned without index…
page_sizeintegerNumber of chunks to return per page, between 1 and 100 (defaults to 10). Use this with the cursor parameter to control pagination.
start_indexintegerThe inclusive starting index for filtering chunks by range. If specified alone, returns only the chunk at this index. If both start_index and end_index are omitted, all chunks are returned without ind…

get_document_chunk Get Document Chunk

Retrieves a specific chunk from a document using both the document ID and chunk ID. Use this to fetch individual content segments within a larger document.

ParameterTypeDescription
chunk_id *stringThe unique identifier of the specific chunk to retrieve, formatted as a UUID.
document_id *stringThe unique identifier of the document containing the chunk, formatted as a UUID.

get_document_chunk_content Get Document Chunk Content

Retrieves the content of a specific document chunk in the requested format. Supports streaming media content for audio and video documents, with optional file download capability.

ParameterTypeDescription
chunk_id *stringThe unique identifier (UUID) of the specific chunk within the document.
document_id *stringThe unique identifier (UUID) of the document containing the chunk.
downloadbooleanWhether to return the content as a downloadable file attachment or as a raw stream. Defaults to false (raw stream).
media_typestringThe desired format for the returned content as a MIME type (e.g., text/plain, audio/mpeg, video/mp4, or various image formats). The requested format must be supported by the document type, or an error…

get_document_content Get Document Content

Retrieve the content of a document in your preferred format. Supports multiple media types including JSON (with metadata), plain text, and streaming formats for audio/video content. Non-textual media like images are returned as text descriptions.

ParameterTypeDescription
document_id *stringThe unique identifier of the document to retrieve, formatted as a UUID.
downloadbooleanWhen true, the content is returned as a downloadable file with its original filename. When false (default), the content is returned as a raw stream.
media_typestringThe desired format for the returned content, specified as a MIME type (e.g., application/json, text/plain, audio/mpeg, video/mp4). If the document doesn't support the requested type, an error will be…

get_document_source Get Document Source

Retrieve the original source file of a document. The source varies by origin: uploaded files are returned as-is, URL-sourced documents return the fetched content, and connection-synced documents return the format specific to that connection type (e.g., file from Google Drive, JSON from Salesforce).

ParameterTypeDescription
document_id *stringThe unique identifier of the document, formatted as a UUID.

search_document_chunks Search Document Chunks

Search and retrieve relevant document chunks based on a semantic query, with optional filtering, reranking, and recency bias to support accurate LLM-based generation and reduce hallucinations.

ParameterTypeDescription
query *stringThe search query used to find semantically relevant document chunks. Can be a natural language question or statement.
filterobjectMetadata filter to narrow results to documents matching specific criteria. Supports equality, inequality, comparison, and array membership operators that can be combined with AND/OR logic.
max_chunks_per_documentintegerLimit the number of chunks retrieved from any single document. Use this to diversify results across multiple documents rather than concentrating chunks from one source.
recency_biasbooleanPrioritize more recent documents over older ones in the ranking. Useful when document freshness is important for accuracy.
rerankbooleanEnable semantic reranking of results for higher relevancy, improving accuracy and reducing hallucinations. Processing will be slower but returns a more focused set of highly relevant chunks.
top_kintegerMaximum number of chunks to return in the results. Defaults to 8 chunks.

get_document_summary Get Document Summary

Retrieve an LLM-generated summary of a document. The summary is automatically created when the document is first uploaded or updated. Note: This feature is in beta and may change; data files (xls, xlsx, csv, json) and documents exceeding 1M tokens are not supported.

ParameterTypeDescription
document_id *stringThe unique identifier of the document, formatted as a UUID.

list_instructions List Instructions

Retrieve all instructions available in the system. Use this operation to discover and review the complete set of instructions.

create_instruction Create Instruction

Create a new instruction that automatically extracts structured data from documents as they are created or updated. Instructions apply natural language prompts to documents and store results according to a defined JSON schema.

ParameterTypeDescription
entity_schema *objectA JSON schema defining the structure of extracted entities. Must be an object type at the root. For multiple items, use an array property (e.g., 'emails' as an array of strings). For single values, wr…
name *stringA unique name for the instruction that identifies its purpose (e.g., 'Find all pizzas'). Must not duplicate existing instruction names.
prompt *stringA natural language instruction describing what data to extract from documents. This prompt is applied to document content and results are stored as entities matching the entity_schema.
activebooleanWhether this instruction is immediately active and applied to new and updated documents. Defaults to true.
context_templatestringAn optional Mustache template that prepends document context (name, type, source, metadata) to the content before extraction. Use variables like {{document.name}} and {{document.metadata.key_name}} to…
filterobjectAn optional metadata filter that restricts instruction application to matching documents. Supports operators like $eq, $ne, $gt, $gte, $lt, $lte, $in, $nin, and can combine conditions with AND/OR logi…
scopestringDetermines the granularity of analysis: 'document' analyzes the entire document (useful for summaries or sentiment), while 'chunk' analyzes individual document sections (useful for fine-grained search…

update_instruction Update Instruction

Update an instruction's configuration, including its name, active status, scope, prompt, context template, entity schema, and metadata filters. Changes apply to documents created or updated after the patch is applied.

ParameterTypeDescription
instruction_id *stringThe unique identifier (UUID) of the instruction to update.
activebooleanWhether the instruction is active. Active instructions are automatically applied when documents are created or their files are updated.
context_templatestringAn optional Mustache template that prepends document context to the content sent for extraction. Supports variables like document.name, document.type, document.source, and nested metadata values (e.g.…
entity_schemaobjectA JSON schema (object type at root) that defines the structure of entities extracted by this instruction. For multiple items, use an array property. For single values, wrap in an object with a single…
filterobjectAn optional metadata filter that restricts instruction application to documents matching the filter criteria. Supports operators: $eq, $ne, $gt, $gte, $lt, $lte, $in, $nin, and can be combined with AN…
namestringA unique name for the instruction. Must not conflict with existing instruction names.
promptstringA natural language instruction that defines what entities or information to extract from documents. Results are stored as entities matching the schema defined in entity_schema.
scopestringThe scope determines how the instruction is applied: 'document' analyzes the entire document (ideal for summaries or sentiment analysis), while 'chunk' analyzes individual document chunks (ideal for f…

delete_instruction Delete Instruction

Permanently delete an instruction and all entities it generated. This operation cannot be undone.

ParameterTypeDescription
instruction_id *stringThe unique identifier of the instruction to delete, formatted as a UUID.

list_entities_by_instruction List Entities by Instruction

Retrieve all entities that were extracted from a specific instruction. Results are paginated to allow efficient browsing of large entity sets.

ParameterTypeDescription
instruction_id *stringThe unique identifier (UUID) of the instruction whose extracted entities you want to retrieve.
page_sizeintegerThe number of entities to return per page, between 1 and 100 items. Defaults to 10 if not specified.

list_instruction_entity_extraction_logs List Instruction Entity Extraction Logs

Retrieve entity extraction logs for a specific instruction, showing attempt-level results with both successful and unsuccessful outcomes. Results are sorted by creation date in descending order and paginated, with historical data available only from March 6, 2026 onwards.

ParameterTypeDescription
instruction_id *stringThe UUID of the instruction for which to retrieve entity extraction logs.
created_afterstringOptional ISO 8601 timestamp to include only logs created on or after this date and time.
created_beforestringOptional ISO 8601 timestamp to include only logs created before this date and time.
document_idsarrayOptional list of document IDs to filter extraction logs. Only logs matching these document IDs will be included in results.
page_sizeintegerNumber of results to return per page. Must be between 1 and 100 items. Defaults to 10 if not specified.
statusstringOptional filter by extraction outcome status. Valid values are `extracted` (successful extraction), `not_found` (entity not found), or `error` (extraction failed).

list_entities_by_document List Entities by Document

Retrieve all entities extracted from a specific document. Returns a paginated list of entities identified during document processing.

ParameterTypeDescription
document_id *stringThe unique identifier (UUID) of the document from which to retrieve extracted entities.
page_sizeintegerNumber of entities to return per page, between 1 and 100 items. Defaults to 10 if not specified.

create_connection Create Connection

Create a new connection for non-OAuth data sources such as S3-compatible storage, Freshdesk, or Zendesk. Configure the connection with source-specific settings and optional processing parameters.

ParameterTypeDescription
connection *Connection configuration object specifying the data source type and authentication details.
audiobooleanEnable audio processing for documents that contain audio content.
configobjectSource-specific configuration object containing connection details and credentials required by the data source type.
metadataobjectCustom metadata to attach to documents processed through this connection. Keys must be strings; values can be strings, numbers, booleans, or lists of strings. Up to 1000 total values allowed (each arr…
page_limitintegerMaximum number of pages to process from each document. Omit or set to null for no limit.
staticstringProcessing mode for document extraction: 'hi_res' for high-resolution processing, 'fast' for quick processing, or 'agentic_ocr' for advanced OCR-based extraction.
videostringVideo processing mode: 'audio_only' to extract audio tracks, 'video_only' to process video frames, or 'audio_video' to process both.
workflowstringProcessing workflow: 'parse' to extract and structure document content, or 'index' to prepare documents for search and retrieval.

list_connections List Connections

Retrieve all connections sorted by creation date in descending order. Results are paginated with a maximum of 100 items per page; use the cursor parameter to fetch subsequent pages when available.

ParameterTypeDescription
filterstringFilter connections by metadata using comparison operators ($eq, $ne, $gt, $gte, $lt, $lte, $in, $nin) combined with AND/OR logic. Returns only connections matching the filter criteria. Refer to the Me…
page_sizeintegerNumber of connections to return per page. Must be between 1 and 100 items; defaults to 10 if not specified.

create_oauth_redirect_url Create OAuth Redirect URL

Generates an OAuth redirect URL for initializing an embedded connector, allowing users to authenticate with third-party services like Google Drive, Notion, Salesforce, and others.

ParameterTypeDescription
redirect_uri *stringThe URI where the user will be redirected after completing OAuth authentication. This must be a valid, accessible endpoint in your application.
authenticator_idstringUUID of the authenticator to use for this OAuth flow. Links the redirect URL to a specific authentication context.
configobjectConnector-specific configuration options provided as a JSON object. Structure varies by connector type.
metadataobjectCustom key-value metadata to attach to synced documents. Keys must be strings; values can be strings, numbers, booleans, or lists of strings. Up to 1000 total values allowed (each array item counts se…
modeOperational mode for the connector (specific behavior determined by connector type).
page_limitintegerMaximum number of pages the connection will sync before being automatically disabled. Must be at least 1 if specified. Set to null to remove any limit. In-progress documents may continue processing af…
source_typestringThe connector type to initialize (e.g., google_drive, notion, hubspot). Defaults to google_drive if not specified. Choose from supported connectors like cloud storage (S3, GCS, Dropbox), productivity…
themestringVisual theme for the Ragie Web UI presented to the user. Choose 'light' for light mode, 'dark' for dark mode, or 'system' to match the user's system preference. Defaults to system.
workflowstringThe workflow type for processing synced content. Choose 'parse' to extract and structure document content, or 'index' to prepare content for search and retrieval.

list_connection_source_types List Connection Source Types

Retrieve all available connection source types (such as Google Drive, Notion, etc.) along with their metadata to understand what integrations can be configured.

update_connection_enabled_status Update Connection Enabled Status

Enable or disable a connection to control whether it syncs data. Disabled connections will not perform synchronization operations.

ParameterTypeDescription
connection_id *stringThe unique identifier (UUID format) of the connection to modify.
enabled *booleanBoolean flag to enable (true) or disable (false) the connection.
reasonstringOptional reason for disabling the connection. Valid values indicate specific failure conditions: 'connection_over_total_page_limit' when the connection exceeds page limits, or 'authentication_failed'…

get_connection Get Connection

Retrieve a specific connection by its unique identifier. Returns the full connection details including configuration and metadata.

ParameterTypeDescription
connection_id *stringThe unique identifier (UUID) of the connection to retrieve.

update_connection Update Connection

Update a connection's metadata or partition strategy. Changes take effect after the next sync operation.

ParameterTypeDescription
connection_id *stringThe unique identifier (UUID) of the connection to update.
partition_strategy *The strategy for partitioning data during sync operations.
metadataobjectCustom metadata as key-value pairs where keys are strings and values are strings, numbers, booleans, or lists of strings. Up to 1000 total values allowed (each array item counts separately). Reserved…
page_limitintegerMaximum number of pages to sync for this connection; the connection will be disabled once this limit is reached. Set to `null` to remove any existing limit. Must be at least 1 if specified.

get_connection_stats Get Connection Stats

Retrieves aggregated statistics for a specific connection, including total documents, active documents, and total active pages.

ParameterTypeDescription
connection_id *stringThe unique identifier (UUID) of the connection to retrieve statistics for.

update_connection_page_limit Update Connection Page Limit

Set or remove page synchronization limits for a connection. When a limit is set, the connection automatically disables after syncing the specified number of pages, though some in-process documents may continue processing.

ParameterTypeDescription
connection_id *stringThe unique identifier of the connection to configure limits for.
page_limitintegerThe maximum number of pages this connection will synchronize before being disabled. Must be at least 1 if specified. Set to null to remove any existing limit.

delete_connection Delete Connection

Schedules a connection for deletion. Optionally preserve associated files (they will be disassociated from the connection) or delete them along with the connection. Deletion is asynchronous and files may remain visible briefly after the request completes.

ParameterTypeDescription
connection_id *stringThe unique identifier (UUID) of the connection to delete.
keep_files *booleanWhether to retain files associated with this connection. If true, files are preserved but disassociated; if false, all files are deleted with the connection.

trigger_connection_sync Trigger Connection Sync

Immediately schedules a connector to begin syncing data. This operation queues the sync to run as soon as possible.

ParameterTypeDescription
connection_id *stringThe unique identifier of the connection to sync, formatted as a UUID.

list_webhook_endpoints List Webhook Endpoints

Retrieve all webhook endpoints sorted by creation date in descending order. Results are paginated with a maximum of 100 items per page, and a cursor is provided when additional endpoints are available.

ParameterTypeDescription
page_sizeintegerNumber of webhook endpoints to return per page. Must be between 1 and 100 items. Defaults to 10 if not specified.

get_webhook_endpoint Get Webhook Endpoint

Retrieve a specific webhook endpoint by its unique identifier. Use this to fetch configuration and status details for a registered webhook.

ParameterTypeDescription
endpoint_id *stringThe unique identifier (UUID) of the webhook endpoint to retrieve.

update_webhook_endpoint Update Webhook Endpoint

Update a webhook endpoint's configuration including its name, URL, or active status. Use this operation to rotate endpoints, change delivery URLs, or temporarily disable webhook delivery without deleting the endpoint.

ParameterTypeDescription
endpoint_id *stringThe unique identifier of the webhook endpoint to update, formatted as a UUID.
activebooleanWhether the webhook endpoint is active and should receive event deliveries. Set to false to temporarily disable delivery without deleting the endpoint.
namestringA new display name for the webhook endpoint.
partition_patternstringA pattern to partition webhook events for this endpoint.
urlstringA new delivery URL for the webhook endpoint. Must be a valid URI between 1 and 2083 characters.

list_partitions List Partitions

Retrieve all partitions sorted alphabetically in ascending order. Results are paginated with a maximum of 100 items per page; use the cursor parameter to fetch subsequent pages when available.

ParameterTypeDescription
page_sizeintegerNumber of partitions to return per page. Must be between 1 and 100 items; defaults to 10 if not specified.

create_partition Create Partition

Create a new partition to scope documents, connections, and instructions. Partition names must be lowercase alphanumeric with only underscores and hyphens allowed. Optional resource limits can be defined at creation time.

ParameterTypeDescription
name *stringUnique identifier for the partition. Must be lowercase alphanumeric and may only contain underscores and hyphens.
audio_processed_limit_maxintegerMaximum duration in minutes for audio processing in this partition. Must be at least 1.
descriptionstringHuman-readable description of the partition's purpose. Automatic description generation can be enabled in the web dashboard.
media_hosted_limit_maxintegerMaximum size in megabytes for media hosted in this partition. Must be at least 1.
media_streamed_limit_maxintegerMaximum size in megabytes for media streamed from this partition. Must be at least 1.
metadata_schemaobjectJSON Schema defining optional metadata fields for documents in this partition. Include detailed field descriptions to assist LLMs in generating dynamic filters.
pages_hosted_limit_maxintegerMaximum number of pages allowed for hosted documents in this partition. Must be at least 1.
pages_processed_limit_maxintegerMaximum number of pages allowed for processed documents in this partition. Must be at least 1.
video_processed_limit_maxintegerMaximum duration in minutes for video processing in this partition. Must be at least 1.

get_partition Get Partition

Retrieve detailed information about a specific partition, including its usage metrics (document and page counts) and configured limits.

ParameterTypeDescription
partition_id *stringThe unique identifier of the partition to retrieve.

update_partition Update Partition

Update a partition's configuration, including its description and metadata schema. The metadata schema defines an optional subset of document metadata as JSON Schema, useful for LLM-based filter generation.

ParameterTypeDescription
partition_id *stringThe unique identifier of the partition to update.
context_awarebooleanEnable context-aware descriptions that provide additional semantic context for the partition to improve LLM understanding and filter generation.
descriptionstringA human-readable description of the partition's purpose and contents.
metadata_schemaobjectA JSON Schema definition describing the structure and types of metadata fields available in documents within this partition. Include detailed field descriptions to assist LLMs in generating accurate d…

delete_partition Delete Partition

Permanently deletes a partition and all associated data, including connections, documents, and partition-specific instructions. This operation cannot be undone.

ParameterTypeDescription
partition_id *stringThe unique identifier of the partition to delete.
asyncbooleanWhen set to true, the partition deletion is performed asynchronously, allowing the request to return immediately while the deletion completes in the background. Defaults to false for synchronous delet…

update_partition_limits Update Partition Limits

Configure resource limits for a partition, including document hosting/processing capacity and media streaming/hosting quotas. When a limit is reached, the partition will be automatically disabled. Set any limit to null to remove it.

ParameterTypeDescription
partition_id *stringThe unique identifier of the partition to configure limits for.
audio_processed_limit_maxintegerMaximum duration in minutes for audio processing in the partition. Must be at least 1 minute.
media_hosted_limit_maxintegerMaximum size in megabytes for media hosted in the partition. Must be at least 1 MB.
media_streamed_limit_maxintegerMaximum size in megabytes for media streamed from the partition. Must be at least 1 MB.
pages_hosted_limit_maxintegerMaximum number of pages allowed for hosted documents in the partition. Must be at least 1 page.
pages_processed_limit_maxintegerMaximum number of pages allowed for processed documents in the partition. Must be at least 1 page.
video_processed_limit_maxintegerMaximum duration in minutes for video processing in the partition. Must be at least 1 minute.

list_authenticators List Authenticators

Retrieve a paginated list of all authenticators sorted by creation date in descending order. Use the cursor parameter to navigate through pages when more results are available.

ParameterTypeDescription
page_sizeintegerNumber of authenticators to return per page. Must be between 1 and 100 items; defaults to 10 if not specified.

create_authenticator Create Authenticator

Create white-labeled connector credentials for integrating with third-party services. This establishes authentication configuration that enables secure API access to supported providers.

ParameterTypeDescription
client_id *stringThe OAuth 2.0 client ID issued by the provider's application registration or developer console.
client_secret *stringThe OAuth 2.0 client secret issued by the provider's application registration or developer console. Keep this value secure.
name *stringA unique identifier for this authenticator configuration. This name is used to reference and distinguish the authenticator from others. Names must be globally unique within your account.
provider *stringThe provider service to authenticate with. Must be one of: Atlassian, Dropbox, HubSpot, Microsoft, Salesforce, or Slack.
domainstringThe domain or workspace identifier for the provider, if applicable. Required for certain providers that use domain-based authentication.
project_numberstringThe project number identifier for the provider, if applicable. Required for certain providers that use project-based authentication.

create_authenticator_connection Create Authenticator Connection

Establish a connector for a specified authenticator with provider-specific credentials (e.g., Google Drive refresh token). Configure document processing options like OCR mode, media handling, and metadata.

delete_authenticator Delete Authenticator

Delete an authenticator connection method. All connections created by this authenticator must be deleted before this operation can succeed.

ParameterTypeDescription
authenticator_id *stringThe unique identifier (UUID) of the authenticator to delete.

create_response Create Response

Generate an LLM-powered response to a query using the deep-search model. Responses can be streamed in real-time or returned synchronously, with optional access to document retrieval tools across specified partitions.

ParameterTypeDescription
effort *stringThe computational effort level for generating the response. Choose low for quick responses, medium for balanced quality and speed, or high for more thorough analysis.
input *stringThe query or question to generate a response for. This text is processed by the LLM agent to produce relevant answers.
instructionsstringCustom instructions to inject into the agent's prompt, particularly during search and retrieval steps. Use this to guide the agent's behavior and response style.
modelstringThe LLM model powering the agent. Currently only deep-search is supported.
streambooleanWhether to stream the response as it's generated (true) or wait for the complete response (false). Streaming allows real-time consumption of results.
toolsarrayArray of tools available to the agent for generating responses. Currently supports the retrieve tool for document search. Each tool can specify which partitions to search; if omitted, the default part…

get_response Get Response

Retrieve a response by its unique identifier. Returns the response data along with its current status: `in_progress` for ongoing processing, `completed` for finished responses, or `failed` for responses that encountered an error.

ParameterTypeDescription
response_id *stringThe unique identifier (UUID) of the response to retrieve.

list_document_elements List Document Elements

Retrieve paginated elements from a document, sorted by index in ascending order. Results are limited to 100 items per page, with cursor-based pagination for accessing subsequent pages.

ParameterTypeDescription
document_id *stringThe unique identifier (UUID) of the document containing the elements to retrieve.
index_endintegerFilter results to include only elements at or before this index position (inclusive).
index_startintegerFilter results to include only elements at or after this index position (inclusive).
page_sizeintegerNumber of elements to return per page. Must be between 1 and 100 items (defaults to 10 if not specified).
typearrayFilter results by element type(s). Accepts an array of type values to match against.

get_element Get Element

Retrieves a specific element from a document by its unique identifier. Use this to fetch detailed information about an individual element.

ParameterTypeDescription
element_id *stringThe unique identifier (UUID) of the element to retrieve.