add-agent-files
Attach one or more files to an AI agent using local paths or inline base64 content through the Syntx API.
Instructions
Attach one or more files to an AI agent. Mirrors syntx.agents.addFiles. Posts multipart/form-data to POST /api/v1/agents/files/add/{agent_id}, repeating the field name files once per file. The same LFI caveat as upload-files applies — path is a server-side file read and is rejected over the HTTP transport.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Files to attach. Each entry takes either `path` (server-side file read) or `content_base64` (inline base64) — exactly one per entry. | |
| agent_id | Yes | Agent UUID — the `agent_id` field returned by `list-agents`. |