Use asset
use_assetPut one of the business's own images (a url from list_assets) to use: as the logo (target "logo") or as a menu item's photo (target "item" with item_id). For a site section or block image, pass the same url to update_section / update_block instead.
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": {
"business_id": "<business_id>",
"url": "<url>",
"target": "<target>"
},
"name": "use_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | An image url from list_assets | |
| target | Yes | ||
| item_id | No | The menu item, for target item | |
| business_id | Yes |