Chat With File
lyzr_chat_with_fileSend chat messages with attached files to AI agents, enabling context-aware responses based on the file content.
Instructions
Send a chat message to an agent with an attached file (base64-encoded content).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Base64-encoded file content to attach | |
| message | Yes | The chat message | |
| user_id | No | User id (default default_user) | |
| agent_id | Yes | The agent id | |
| features | No | JSON-encoded features override | |
| file_name | No | Filename for the attached file | |
| session_id | Yes | The session id | |
| filter_variables | No | JSON-encoded filter variables (default '{}') | |
| file_content_type | No | MIME type of the attached file | |
| system_prompt_variables | No | JSON-encoded system prompt variables (default '{}') |