webdiet_get_upload_command
Returns a ready-to-run curl command that uploads a file directly to the server without reading it into context. RECOMMENDED for large files (images, PDFs, lab results). The flow:
Call this tool with the file_path the user provided
Execute the returned curl command in your code execution sandbox (or tell the user to run it)
The command returns a JSON with a "code" (e.g. "file-a1b2c3d4")
Call webdiet_upload_anexo with upload_code=that_code to attach it to the patient This avoids loading large file contents into the conversation context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| file_name | No | ||
| file_path | Yes |