Parameters
| Name | Type | Required | Description |
|---|---|---|---|
brandId | string | Yes | Brand ID from ocoya_list_brands. |
designId | string | Yes | Studio design ID from ocoya_list_studio_designs. |
Request example
{
"name": "ocoya_get_studio_design",
"arguments": {
"brandId": "cmayvq3hk00017apshay5qezu",
"designId": "cmayxdsgn00097apsk2v8q1rt"
}
}Returns
Returns the design’s ID, name, thumbnail and fields. Each field has:
| Field | Description |
|---|---|
id | The key to use in fields (ocoya_render_studio_design) or studioDesignFields (ocoya_create_ai_post, ocoya_create_ai_campaign). |
label | The layer’s name in Studio, or what it currently says. |
type | text, image or color. |
value | What the field holds in the saved design: its text, image URL or colour. |