# list_templates

Source: https://heyeveryone.ai/docs/mcp/list_templates

> The workspace's content templates (recurring formats such as a launch, changelog or episode), by name, each with its title pattern, original draft, campaign labels, target channel accounts (with their own text, or null to start from the original draft) and the `placeholders` to fill. Filter by `text` (name, description or title pattern), or pass `templateId` for one. Create content from one with create_content_from_template; write one with save_template.

The workspace's content templates (recurring formats such as a launch, changelog or episode), by name, each with its title pattern, original draft, campaign labels, target channel accounts (with their own text, or null to start from the original draft) and the `placeholders` to fill. Filter by `text` (name, description or title pattern), or pass `templateId` for one. Create content from one with create_content_from_template; write one with save_template.

## Access and cost

- Kind: query
- Scope: workspace
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false

## Input schema

```json
{
  "properties": {
    "workspaceId": {
      "format": "uuid",
      "type": "string"
    },
    "text": {
      "maxLength": 200,
      "minLength": 1,
      "type": "string"
    },
    "templateId": {
      "format": "uuid",
      "type": "string"
    }
  },
  "required": [
    "workspaceId"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "additionalProperties": false,
  "properties": {
    "templates": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "titlePattern": {
            "type": "string"
          },
          "masterText": {
            "type": "string"
          },
          "campaignLabels": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "channels": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "channelAccountId": {
                  "format": "uuid",
                  "type": "string"
                },
                "platform": {
                  "enum": [
                    "x",
                    "linkedin",
                    "threads",
                    "bluesky",
                    "instagram",
                    "facebook",
                    "tiktok",
                    "youtube",
                    "sandbox"
                  ],
                  "type": "string"
                },
                "handle": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "displayName": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "enum": [
                    "active",
                    "reconnect_required",
                    "disconnected"
                  ],
                  "type": "string"
                },
                "format": {
                  "anyOf": [
                    {
                      "pattern": "^[a-z][a-z0-9_]*$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "segments": {
                  "anyOf": [
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "channelAccountId",
                "platform",
                "handle",
                "displayName",
                "status",
                "format",
                "segments"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "placeholders": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "titlePattern",
          "masterText",
          "campaignLabels",
          "channels",
          "placeholders",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "templates"
  ],
  "type": "object"
}
```

## Errors

```json
[]
```

## Annotations

```json
{
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false,
  "readOnlyHint": true,
  "title": "List templates"
}
```
