upload_image_from_url
Upload an image from a URL to Basis (IPFS). Use for avatars or token images, with contract address required for token use.
Instructions
Upload an image from URL to Basis (Pinata/IPFS). Use purpose='avatar' for profile pics, 'token' for token/market images (requires contract_address).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image_url": "<image_url>"
},
"name": "upload_image_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_url | Yes | ||
| contract_address | No | Required for purpose='token' | |
| purpose | No | Default: 'token' |