compose_image_grid
Create an image mosaic from uploaded project assets. Cells fill row by row; fewer images repeat in order. Supports per-image cover/contain, source crop and focal point. Inputs and source hashes are saved as asset.image_grid and returned by get_project. Recompose a saved recipe with a new key to preserve the old mosaic, then bind with assign_asset_slot.
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": {
"projectId": "<projectId>",
"columns": "<columns>",
"rows": "<rows>",
"key": "<key>",
"cells": "<cells>"
},
"name": "compose_image_grid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| rows | Yes | ||
| cells | Yes | ||
| columns | Yes | ||
| cellSize | No | ||
| projectId | Yes | ||
| background | No | Hex colour, with optional alpha. | #FFFFFF |