import_file
Import SMALL INLINE DATA into an Azquo database - a base64-encoded blob under fileContent.
Filename selects the import template.
THIS IS THE NARROW ROUTE, NOT THE GENERAL ONE. It base64-transports the file through the agent's context, so it is capped at 256 KB and refuses anything larger. Use it ONLY when the data exists solely in your context and you have no shell. Otherwise:
fetchable by URL -> import_from_url. The SERVER downloads it; nothing crosses your context.
you can run curl -> POST /api/importdata with -F 'file=@...' -F 'database=...' and an X-Azquo-Business header if switching business. ~0.1s for a 57 KB file where this tool takes minutes.
See azquo_skills id 813 for the HTTP recipe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Target database name | |
| filename | Yes | Original filename including extension — used to select the correct import template | |
| fileContent | Yes | Base64-encoded file bytes. Capped at 256 KB decoded - use import_from_url or POST /api/importdata for anything larger. |