KosmoKrator

communication

RingCentral CLI for AI Agents

Use the RingCentral CLI from KosmoKrator to call RingCentral tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

6 functions 5 read 1 write Manual OAuth token auth

RingCentral CLI Setup

RingCentral can be configured headlessly with `kosmokrator integrations:configure ringcentral`.

# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure ringcentral --set access_token="$RINGCENTRAL_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor ringcentral --json
kosmokrator integrations:status --json

Credentials

Authentication type: Manual OAuth token oauth2_manual_token. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
access_token RINGCENTRAL_ACCESS_TOKEN Secret secret yes Access Token
url RINGCENTRAL_URL URL url no API Base URL

Call RingCentral Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call ringcentral.ringcentral_list_messages '{
  "messageType": "example_messageType",
  "dateFrom": "example_dateFrom",
  "dateTo": "example_dateTo",
  "direction": "example_direction",
  "readStatus": "example_readStatus",
  "perPage": 1,
  "page": 1
}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:ringcentral ringcentral_list_messages '{
  "messageType": "example_messageType",
  "dateFrom": "example_dateFrom",
  "dateTo": "example_dateTo",
  "direction": "example_direction",
  "readStatus": "example_readStatus",
  "perPage": 1,
  "page": 1
}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

kosmo integrations:docs ringcentral --json
kosmo integrations:docs ringcentral.ringcentral_list_messages --json
kosmo integrations:schema ringcentral.ringcentral_list_messages --json
kosmo integrations:search "RingCentral" --json
kosmo integrations:list --json

All CLI Functions

Every function below can be called headlessly. The generic form is stable across all integrations; the provider shortcut is shorter but specific to RingCentral.

ringcentral.ringcentral_list_messages

Read read

List messages from the RingCentral message store. Supports filtering by type (SMS, Fax, VoiceMail), date range, read status, and direction. Returns paginated message records.

Parameters
messageType, dateFrom, dateTo, direction, readStatus, perPage, page

Generic CLI call

kosmo integrations:call ringcentral.ringcentral_list_messages '{"messageType":"example_messageType","dateFrom":"example_dateFrom","dateTo":"example_dateTo","direction":"example_direction","readStatus":"example_readStatus","perPage":1,"page":1}' --json

Provider shortcut

kosmo integrations:ringcentral ringcentral_list_messages '{"messageType":"example_messageType","dateFrom":"example_dateFrom","dateTo":"example_dateTo","direction":"example_direction","readStatus":"example_readStatus","perPage":1,"page":1}' --json

ringcentral.ringcentral_get_message

Read read

Get detailed information about a specific message in the RingCentral message store by its ID. Returns the full message record including sender, recipient, subject, and content.

Parameters
messageId

Generic CLI call

kosmo integrations:call ringcentral.ringcentral_get_message '{"messageId":"example_messageId"}' --json

Provider shortcut

kosmo integrations:ringcentral ringcentral_get_message '{"messageId":"example_messageId"}' --json

ringcentral.ringcentral_send_sms

Write write

Send an SMS message via RingCentral. The "from" number must be a phone number assigned to the authenticated extension. The "to" number is the destination phone number.

Parameters
from, to, text

Generic CLI call

kosmo integrations:call ringcentral.ringcentral_send_sms '{"from":"example_from","to":"example_to","text":"example_text"}' --json

Provider shortcut

kosmo integrations:ringcentral ringcentral_send_sms '{"from":"example_from","to":"example_to","text":"example_text"}' --json

ringcentral.ringcentral_list_calls

Read read

List call log records for the authenticated RingCentral extension. Supports filtering by date range, direction, type, and phone number. Returns paginated call records with caller, receiver, duration, and result.

Parameters
dateFrom, dateTo, direction, type, phoneNumber, perPage, page

Generic CLI call

kosmo integrations:call ringcentral.ringcentral_list_calls '{"dateFrom":"example_dateFrom","dateTo":"example_dateTo","direction":"example_direction","type":"example_type","phoneNumber":"example_phoneNumber","perPage":1,"page":1}' --json

Provider shortcut

kosmo integrations:ringcentral ringcentral_list_calls '{"dateFrom":"example_dateFrom","dateTo":"example_dateTo","direction":"example_direction","type":"example_type","phoneNumber":"example_phoneNumber","perPage":1,"page":1}' --json

ringcentral.ringcentral_list_contacts

Read read

List contacts from the RingCentral personal address book. Supports filtering by name prefix and pagination. Returns contact records with names, phone numbers, and email addresses.

Parameters
startsWith, perPage, page

Generic CLI call

kosmo integrations:call ringcentral.ringcentral_list_contacts '{"startsWith":"example_startsWith","perPage":1,"page":1}' --json

Provider shortcut

kosmo integrations:ringcentral ringcentral_list_contacts '{"startsWith":"example_startsWith","perPage":1,"page":1}' --json

ringcentral.ringcentral_get_current_user

Read read

Get information about the currently authenticated RingCentral extension. Returns extension ID, name, status, phone numbers, and account details.

Parameters
none

Generic CLI call

kosmo integrations:call ringcentral.ringcentral_get_current_user '{}' --json

Provider shortcut

kosmo integrations:ringcentral ringcentral_get_current_user '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

ringcentral.ringcentral_list_messages

List messages from the RingCentral message store. Supports filtering by type (SMS, Fax, VoiceMail), date range, read status, and direction. Returns paginated message records.

Operation
Read read
Schema command
kosmo integrations:schema ringcentral.ringcentral_list_messages --json
ParameterTypeRequiredDescription
messageType string no Filter by message type: Sms, Fax, VoiceMail, Pager, or All (default: All).
dateFrom string no Start date for filtering (ISO 8601, e.g., "2025-01-01T00:00:00Z").
dateTo string no End date for filtering (ISO 8601, e.g., "2025-01-31T23:59:59Z").
direction string no Filter by direction: Inbound, Outbound, or All.
readStatus string no Filter by read status: Read, Unread, or All.
perPage integer no Number of records per page (default: 100, max: 1000).
page integer no Page number for pagination (default: 1).

ringcentral.ringcentral_get_message

Get detailed information about a specific message in the RingCentral message store by its ID. Returns the full message record including sender, recipient, subject, and content.

Operation
Read read
Schema command
kosmo integrations:schema ringcentral.ringcentral_get_message --json
ParameterTypeRequiredDescription
messageId string yes The unique identifier of the message record.

ringcentral.ringcentral_send_sms

Send an SMS message via RingCentral. The "from" number must be a phone number assigned to the authenticated extension. The "to" number is the destination phone number.

Operation
Write write
Schema command
kosmo integrations:schema ringcentral.ringcentral_send_sms --json
ParameterTypeRequiredDescription
from string yes The phone number to send from (must be a RingCentral number assigned to the extension, e.g., "+16505551234").
to string yes The destination phone number (e.g., "+16505559876").
text string yes The SMS message body text. Maximum 160 characters per segment; longer messages are concatenated.

ringcentral.ringcentral_list_calls

List call log records for the authenticated RingCentral extension. Supports filtering by date range, direction, type, and phone number. Returns paginated call records with caller, receiver, duration, and result.

Operation
Read read
Schema command
kosmo integrations:schema ringcentral.ringcentral_list_calls --json
ParameterTypeRequiredDescription
dateFrom string no Start date for filtering (ISO 8601, e.g., "2025-01-01T00:00:00Z").
dateTo string no End date for filtering (ISO 8601, e.g., "2025-01-31T23:59:59Z").
direction string no Filter by direction: Inbound, Outbound, or All.
type string no Filter by call type: Voice, Fax, or All.
phoneNumber string no Filter by phone number (caller or receiver).
perPage integer no Number of records per page (default: 100, max: 1000).
page integer no Page number for pagination (default: 1).

ringcentral.ringcentral_list_contacts

List contacts from the RingCentral personal address book. Supports filtering by name prefix and pagination. Returns contact records with names, phone numbers, and email addresses.

Operation
Read read
Schema command
kosmo integrations:schema ringcentral.ringcentral_list_contacts --json
ParameterTypeRequiredDescription
startsWith string no Filter contacts whose first name, last name, or company name starts with this string.
perPage integer no Number of records per page (default: 100, max: 1000).
page integer no Page number for pagination (default: 1).

ringcentral.ringcentral_get_current_user

Get information about the currently authenticated RingCentral extension. Returns extension ID, name, status, phone numbers, and account details.

Operation
Read read
Schema command
kosmo integrations:schema ringcentral.ringcentral_get_current_user --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.