Attach a knowledge file to the agent
add_agent_documentUpload a material the agent learns from (PDF, DOC, DOCX, TXT, XLS, XLSX, CSV, PPT, PPTX, KEY; ≤10 MB) from a public URL or base64. Used the next time the script is generated (generate_agent_script). Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Agent id (UUID) — from list_agents | |
| file_url | No | Public https URL of the file | |
| filename | Yes | File name with extension, e.g. "price-list.pdf" | |
| file_base64 | No | Base64 content (use instead of file_url) |