files_ingest
Save and index a file into the knowledge base. Use this when the user asks to save, store, or remember a document. The file will be processed (OCR if needed) and indexed for future search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Optional list of tags for categorization (e.g., ['presentation', 'dextrade']). | |
| title | No | Human-readable title for the file (e.g., 'Project Presentation', 'Q1 Report'). If not provided, uses original filename. | |
| file_id | Yes | ID of the file to ingest (from attachment_file_ids in context). | |
| thread_id | No | Optional thread ID to associate the file with. If not provided, uses context thread. | |
| description | No | Optional description of the file contents. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |