Create Photo
aidelly_create_photoUpload a photo to a connected platform's media gallery (separate from posts). Today only google_business is wired.
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": {
"idempotency_key": "<idempotency_key>",
"platform": "<platform>",
"source_url": "<source_url>",
"category": "<category>"
},
"name": "aidelly_create_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional body override for endpoints with sparse parameter schemas. | |
| query | No | Optional query overrides for endpoints with sparse parameter schemas. | |
| brand_id | No | ||
| category | Yes | Where the photo lands on the location's listing. `PROFILE`, `LOGO`, and `COVER` replace the existing identity photos; the rest append to the gallery. | |
| metadata | No | ||
| platform | Yes | Currently only google_business is supported. | |
| account_id | No | For `google_business`, the location resource name to upload to — either fully-qualified `accounts/{accountId}/locations/{locationId}` or the relative `locations/{locationId}` form. If omitted, the workspace's default location is used. | |
| source_url | Yes | Public URL of the image to upload. Must be reachable by Google's servers. Use a `read_url` returned by `POST /media/upload-url` for files stored in Aidelly. | |
| description | No | Optional caption associated with the photo on Google's side. | |
| workspace_id | No | Workspace ID for this operation. | |
| idempotency_key | Yes |