Module files

Source

Structs§

File
Represents a file that can be uploaded to the Anthropic API
FileBuilder
File upload builder for complex scenarios
FileConstraints
File validation constraints

Enums§

FileData
Different sources of file data
FileError
Errors that can occur during file operations
FileSource
Different sources for creating files

Functions§

to_file
Utility function to create a File from various sources (like TypeScript SDK’s toFile)