Skip to content

Latest commit

 

History

History
267 lines (159 loc) · 11 KB

File metadata and controls

267 lines (159 loc) · 11 KB

Tools

Search Queues

Tool name: search_queues

Searches for routing queues based on their name, allowing for wildcard searches. Returns a paginated list of matching queues, including their Name, ID, Description (if available), and Member Count (if available). Also provides pagination details like current page, page size, total results found, and total pages available. Useful for finding specific queue IDs, checking queue configurations, or listing available queues. Source file.

Inputs

  • name
    • The name (or partial name) of the routing queue(s) to search for. Wildcards ('*') are supported for pattern matching (e.g., 'Support*', '*Emergency', '*Sales*'). Use '*' alone to retrieve all queues
  • pageNumber
    • The page number of the results to retrieve, starting from 1. Defaults to 1 if not specified. Used with 'pageSize' for navigating large result sets
  • pageSize
    • The maximum number of queues to return per page. Defaults to 100 if not specified. Used with 'pageNumber' for pagination. The maximum value is 500

Security

Required permission:

  • routing:queue:view

Platform API endpoint used:

Query Queue Volumes

Tool name: query_queue_volumes

Returns a breakdown of how many conversations occurred in each specified queue between two dates. Useful for comparing workload across queues. MAX 300 queue IDs.

Source file.

Inputs

  • queueIds
    • List of up to 300 queue IDs to filter conversations by
  • startDate
    • The start date/time in ISO-8601 format (e.g., '2024-01-01T00:00:00Z')
  • endDate
    • The end date/time in ISO-8601 format (e.g., '2024-01-07T23:59:59Z')

Security

Required permission:

  • analytics:conversationDetail:view

Platform API endpoints used:

Sample Conversations By Queue

Tool name: sample_conversations_by_queue

Retrieves conversation analytics for a specific queue between two dates, returning a representative sample of conversation IDs. Useful for reporting, investigation, or summarisation.

Inputs

  • queueId
    • The UUID of the queue to filter conversations by. (e.g., 00000000-0000-0000-0000-000000000000)
  • startDate
    • The start date/time in ISO-8601 format (e.g., '2024-01-01T00:00:00Z')
  • endDate
    • The end date/time in ISO-8601 format (e.g., '2024-01-07T23:59:59Z')

Security

Required Permission:

  • analytics:conversationDetail:view

Platform API endpoints used:

Voice Call Quality

Tool name: voice_call_quality

Retrieves voice call quality metrics for one or more conversations by ID. This tool specifically focuses on voice interactions and returns the minimum Mean Opinion Score (MOS) observed in each conversation, helping identify degraded or poor-quality voice calls.

Read more about MOS scores and how they're determined.

Source file.

Inputs

  • conversationIds
    • A list of up to 100 conversation IDs to evaluate voice call quality for

Security

Required Permission:

  • analytics:conversationDetail:view

Platform API endpoint used:

Conversation Sentiment

Tool name: conversation_sentiment

Retrieves sentiment analysis scores for one or more conversations. Sentiment is evaluated based on customer phrases, categorized as positive, neutral, or negative. The result includes both a numeric sentiment score (-100 to 100) and an interpreted sentiment label.

Source file.

Inputs

  • conversationIds
    • A list of up to 100 conversation IDs to retrieve sentiment for

Security

Required Permissions:

  • speechAndTextAnalytics:data:view
  • recording:recording:view

Platform API endpoint used:

Conversation Topics

Tool name: conversation_topics

Retrieves Speech and Text Analytics topics detected for a specific conversation. Topics represent business-level intents (e.g. cancellation, billing enquiry) inferred from recognised phrases in the customer-agent interaction.

Read more about programs, topics, and phrases.

Source file.

Input

  • conversationId
    • A UUID for a conversation. (e.g., 00000000-0000-0000-0000-000000000000)

Security

Required Permissions:

  • speechAndTextAnalytics:topic:view
  • analytics:conversationDetail:view
  • analytics:speechAndTextAnalyticsAggregates:view

Platform API endpoints used:

Search Voice Conversations

Tool name: search_voice_conversations

Searches for voice conversations within a specified time window, optionally filtering by phone number. Returns a paginated list of conversation metadata for use in further analysis or tool calls.

Source file.

Input

  • phoneNumber
    • Optional. Filters results to only include conversations involving this phone number (e.g., '+440000000000')
  • pageNumber
    • The page number of the results to retrieve, starting from 1. Defaults to 1 if not specified. Used with 'pageSize' for navigating large result sets
  • pageSize
    • The maximum number of conversations to return per page. Defaults to 100 if not specified. Used with 'pageNumber' for pagination. The maximum value is 100
  • startDate
    • The start date/time in ISO-8601 format (e.g., '2024-01-01T00:00:00Z')
  • endDate
    • The end date/time in ISO-8601 format (e.g., '2024-01-07T23:59:59Z')

Security

Required Permissions:

  • analytics:conversationDetail:view

Platform API endpoints used:

Conversation Transcript

Tool name: conversation_transcript

Retrieves a structured transcript of the conversation, including speaker labels, utterance timestamps, and sentiment annotations where available. The transcript is formatted as a time-aligned list of utterances attributed to each participant (e.g., customer or agent).

Source file.

Input

  • conversationId
    • The UUID of the conversation to retrieve the transcript for (e.g., 00000000-0000-0000-0000-000000000000)

Security

Required Permissions:

  • recording:recording:view
  • speechAndTextAnalytics:data:view

Platform API endpoints used:

OAuth Clients

Tool name: oauth_clients

Retrieves a list of all OAuth clients, including their associated roles and divisions. This tool is useful for auditing and managing OAuth clients in the Genesys Cloud organization.

Source file.

Security

Required Permissions:

  • oauth:client:view
  • authorization:role:view
    • Optional: Used to populate names of roles used by OAuth Client

Platform API endpoints used:

OAuth Client Usage

Tool name: oauth_client_usage

Retrieves the usage of an OAuth Client for a given period. It returns the total number of requests and a breakdown of Platform API endpoints used by the client.

Source file.

Input

  • oauthClientId
    • The UUID of the OAuth Client to retrieve the usage for (e.g., 00000000-0000-0000-0000-000000000000)
  • startDate
    • The start date/time in ISO-8601 format (e.g., '2024-01-01T00:00:00Z')
  • endDate
    • The end date/time in ISO-8601 format (e.g., '2024-01-07T23:59:59Z')

Security

Required Permissions:

  • usage:client:view

Platform API endpoints used: