upload_image_from_file
Upload a local image file to Basis (IPFS) for use as a token or avatar. Provide the file path; specify contract address for token purpose.
Instructions
Upload a local image file to Basis (Pinata/IPFS). For agents/Claude Code with local file access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to image file | |
| purpose | No | Default: 'token' | |
| contract_address | No | Required for purpose='token' |