Skip to content

Docs

get_voice_profile

Read the workspace's voice profile (how this brand writes): the plain-language description, structured traits and the samples it was built from. Returns null if none has been built yet.

Read the workspace's voice profile (how this brand writes): the plain-language description, structured traits and the samples it was built from. Returns null if none has been built yet.

Access and cost

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

Input schema

{
  "properties": {
    "workspaceId": {
      "format": "uuid",
      "type": "string"
    }
  },
  "required": [
    "workspaceId"
  ],
  "type": "object"
}

Output schema

{
  "additionalProperties": false,
  "properties": {
    "voiceProfile": {
      "anyOf": [
        {
          "additionalProperties": false,
          "properties": {
            "workspaceId": {
              "format": "uuid",
              "type": "string"
            },
            "description": {
              "type": "string"
            },
            "traits": {
              "type": "object"
            },
            "samples": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "text": {
                    "type": "string"
                  },
                  "source": {
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "updatedByAccountId": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "updatedByAgentClientId": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "createdAt": {
              "format": "date-time",
              "type": "string"
            },
            "updatedAt": {
              "format": "date-time",
              "type": "string"
            }
          },
          "required": [
            "workspaceId",
            "description",
            "traits",
            "samples",
            "updatedByAccountId",
            "updatedByAgentClientId",
            "createdAt",
            "updatedAt"
          ],
          "type": "object"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "voiceProfile"
  ],
  "type": "object"
}

Errors

[]

Annotations

{
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false,
  "readOnlyHint": true,
  "title": "Get the voice profile"
}