download_file
Downloads photos, videos, or files from ParentSquare URLs to local disk, returning the saved path. Use URLs from list_photos, list_files, or get_post.
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 |