generate_media
Make media for a page: image, edit_image, process_image, voiceover, music, sound_effect. catalog kind media_models lists models and typical credits; guide generate_media lists each kind's fields. Credits.
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": {
"kind": "<kind>",
"pageId": "<pageId>"
},
"name": "generate_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | What to make. | |
| pageId | Yes | The page the media is saved to. | |
| params | No | The action's fields. guide({ topic: "<tool>.<action>" }) lists them. | |
| prompt | No | What to make, for every kind but process_image. | |
| confirmed | No | true only after the user agreed to this call. | |
| confirmationToken | No | The token the first call answered with. |