Download the raw content of a file.
Details
Downloads the actual file content as raw bytes. Use claude_file_get()
to retrieve only metadata without downloading content.
API Reference: https://platform.claude.com/docs/en/build-with-claude/files
Examples
if (FALSE) { # \dontrun{
file <- claude_file_upload("image.png")
content <- claude_file_download(file$id)
writeBin(content, "downloaded_image.png")
} # }
