List Variants
list_variantsLists variants for one project content type, newest first, including active, ready and has_content status. Read-only.
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": {
"contentType": "<contentType>"
},
"name": "list_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Alias of generationId (the project id). | |
| contentType | Yes | ||
| generationId | No | Project id: the same UUID as projectId from list_projects/get_project (generationId is its legacy name). You may pass projectId instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| widgetDataJson | No |