manage_attachment
Manage file attachments on records. Filenames can include paths for folder structure (e.g. 'docs/guide.md', 'src/index.ts'). Upload returns a presigned URL — the agent uploads bytes directly.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
action | enum: upload | get_url | list | delete | Yes | |
workspace_id | string | Yes | Target workspace ID |
collection | string | Yes | Collection name or ID |
record_id | string | Yes | Record the attachment belongs to |
filename | string | No | Required for upload, get_url, delete. Supports paths (e.g. 'docs/guide.md') |
content_type | string | No | MIME type, required for upload |
prefix | string | No | Filter list results by path prefix (e.g. 'docs/' to list only files in docs folder) |