download_file
Download photos, videos, or files from ParentSquare URLs to your local disk, returning the saved file path. Works with URLs from list_photos, list_files, or get_post attachments.
Instructions
Download a photo, video, or file to local disk from a ParentSquare URL.
Returns the local file path where the file was saved. Use URLs from list_photos, list_files, or get_post attachment results.
Args: url: The file URL (from list_photos, list_files, or get_post results) filename: Optional custom filename. If not provided, uses the original filename from the URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| filename | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |