compose_assets
Combine multiple asset definitions into a cohesive layout—story, grid, slides, or video—with custom dimensions and optional scenes for video export.
Instructions
Compose multiple assets into a deliverable format.
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": {
"assets": "<assets>"
},
"name": "compose_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assets | Yes | List of asset definitions (dicts with 'type' and type-specific keys) | |
| layout | No | Layout mode — "story", "grid", "slides", or "video" | story |
| title | No | Optional title text (used in story layout) | |
| width | No | Output width in pixels (default 1920) | |
| height | No | Output height in pixels (default 1080) | |
| scenes | No | Scene definitions for video layout (list of dicts with asset_indices, duration, transition) | |
| fps | No | Frames per second for video export (default 30) |