download_document
Download a clinical document PDF using a signed URI and save it to your local downloads folder. Optionally set a filename for the saved file.
Instructions
Download a clinical document PDF by signed URI. Saves to downloads/jcs/documentos/.
The uri comes from get_message() response.
Args: uri: Signed document URI from a message detail response. filename: Optional filename (e.g. "resultado_patologia.pdf").
Returns: Absolute path to the saved PDF file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | ||
| filename | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |