store_unstructured
Store raw files and resources in Neotoma's deterministic state layer for AI agents. Accepts base64-encoded content or local file paths with MIME types to preserve unstructured data.
Instructions
Store raw files only. Use when data is file- or resource-sourced (user attachment or file to preserve). Provide file_content (base64) + mime_type or file_path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idempotency_key | Yes | Required. Client-provided idempotency key for replay-safe storing. | |
| file_content | No | Base64-encoded file content (for unstructured storage). Use file_path for local files instead of base64 encoding. | |
| file_path | No | Local file path (alternative to file_content). If provided, file will be read from filesystem. | |
| mime_type | No | MIME type (e.g., 'application/pdf', 'text/csv') - required with file_content, optional with file_path | |
| original_filename | No | Original filename (optional, auto-detected from file_path if not provided) |