> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ocoya.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ocoya_list_studio_templates

> List Studio templates for AI image references.

# `ocoya_list_studio_templates`

Lists Studio templates in an approved workspace. Use this before `ocoya_create_ai_post` when you want a generated image to follow the style or layout of a saved Studio template.

## Arguments

| Name          | Type   | Required | Description                                |
| ------------- | ------ | -------- | ------------------------------------------ |
| `workspaceId` | string | Yes      | Workspace ID from `ocoya_list_workspaces`. |
| `query`       | string | No       | Optional template name search.             |
| `page`        | number | No       | Zero-based page number. Defaults to `0`.   |
| `perPage`     | number | No       | Templates per page. Defaults to `20`.      |

## Example

```json theme={null}
{
  "name": "ocoya_list_studio_templates",
  "arguments": {
    "workspaceId": "cmayvq3hk00017apshay5qezu",
    "query": "launch"
  }
}
```

## Returns

Returns Studio design IDs, names, preview images, page thumbnails, page count, width, and height.

Use returned design IDs as `referenceDesignIds` when calling `ocoya_create_ai_post`.
