Import image
import_imageImport a photo from a public https URL into the organization's image storage, the same as picking an image in the Partner Hub. Returns originalUrl and image; pass image unchanged as a benefit's content.image in create_benefit or update_benefit, which wait for the processed versions before saving. Only images imported this way are accepted by the benefit write tools; a birthday gift takes the originalUrl as content.imageUrl.
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": {
"url": "<url>"
},
"name": "import_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public https URL of the image | |
| orgId | No | Organization public id, the `id` field from list_orgs. Omit it when the API key reaches exactly one organization. | |
| attribution | No | Photographer credit for an Unsplash photo. Kept on every processed version so the credit travels with the image. |