Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Query Batch Presence
ABLY_BATCH_PRESENCEQueries the presence states of multiple Ably channels in a single request, retrieving member presence details for the specified channels. Channel names are separated by commas by default, with an optional alternative separator.
Query Batch Presence History
ABLY_BATCH_PRESENCE_HISTORYQuery presence history for multiple Ably channels, with optional start and end times and forwards or backwards ordering. Returns up to 100 messages per channel by default, with a limit of 1,000 per channel; channels not found are omitted.
Delete Channel Subscription
ABLY_DELETE_CHANNEL_SUBSCRIPTIONUnsubscribes a device or client from push notifications for a specified channel, or across all channels if no channel is provided. Deletion is asynchronous, so subscriptions may briefly remain visible.
Get Channel Details
ABLY_GET_CHANNEL_DETAILSRetrieves status and occupancy metadata for a specific Ably channel, including connection, presence, publisher, and subscriber metrics. The request can activate the channel and requires channel-metadata permission.
Get Channel History
ABLY_GET_CHANNEL_HISTORYRetrieves a page of message history for a specified Ably channel, with time range, limit, and direction filters. Results follow the requested direction, which defaults to backwards.
Get Channel Presence
ABLY_GET_CHANNEL_PRESENCETool to obtain the set of members currently present for a channel. Use when you need to check which clients are currently connected and active on a specific Ably channel.
Get Message Versions
ABLY_GET_MESSAGE_VERSIONSRetrieves a page of historical versions of a specific Ably channel message, including the original and subsequent updates or deletes. Versions may include timestamps, action types, and client IDs.
Get Channel Presence History
ABLY_GET_PRESENCE_HISTORYThis tool retrieves the history of presence messages for a specified channel in Ably. It allows you to query presence events on a channel within a given time period.
Get Push Device Registration
ABLY_GET_PUSH_DEVICERetrieves a device's push registration by device ID, including available platform, state, recipient, and metadata fields.
Get Ably Service Time
ABLY_GET_SERVICE_TIMEThis tool retrieves the current server time from Ably's service in milliseconds since the epoch. It is particularly useful for time synchronization and generating valid TokenRequest timestamps to prevent replay attacks. The endpoint supports multiple content types, handles HTTP errors, network issues, and is a fundamental tool for ensuring accurate timing in Ably applications.
Get Application Stats
ABLY_GET_STATSRetrieve a page of Ably application usage statistics by minute, hour, day or month, with optional time range, direction and limit. Results can include message, connection, channel, API request, push and token request metrics; pagination links are not returned.
List Channels
ABLY_LIST_CHANNELSTool to enumerate all active channels in the Ably application. Use when you need to discover available channels or monitor channel activity. Returns paginated results and is heavily rate-limited. Can return either channel names only or full channel details with occupancy data.
List Push Channels
ABLY_LIST_PUSH_CHANNELSLists a page of Ably channels with at least one subscribed device for push notifications.
List Push Channel Subscriptions
ABLY_LIST_PUSH_CHANNEL_SUBSCRIPTIONSLists a page of push channel subscriptions filtered by channel, client ID, or device ID, with pagination links; at least one filter is required. Client and device filters can be combined when concat filters is enabled.
List Registered Push Devices
ABLY_LIST_REGISTERED_PUSH_DEVICESList a page of Ably push device registrations, optionally filtered by device ID or client ID. Returns available pagination links; the limit controls page size.
Patch Push Device Registration
ABLY_PATCH_PUSH_DEVICE_REGISTRATIONPartially update an existing Ably push device registration. Ably permits changes to client ID, metadata and push recipient; supplied structured values replace rather than merge with existing values.
Batch Publish Messages
ABLY_PUBLISH_BATCH_MESSAGESTool to batch publish messages to multiple channels in parallel. Use when you need to send the same set of messages to multiple channels simultaneously for efficient broadcasting.
Publish Message to Channel
ABLY_PUBLISH_MESSAGE_TO_CHANNELPublishes a message to a specified Ably channel with a string or JSON object payload and an optional event name and client ID. An optional message ID can be used for idempotent publishing. The result includes the channel and message ID.
Publish Push Notification
ABLY_PUBLISH_PUSH_NOTIFICATIONTool to publish a push notification directly to device(s) via Ably's Push Notifications API. Use when you need to send push notifications to specific devices identified by device ID, client ID, or platform-specific tokens. The API returns HTTP 204 on success with no response body.
Batch Publish Push Notifications
ABLY_PUBLISH_PUSH_NOTIFICATIONS_BATCHTool to batch publish push notifications directly to specific recipients. Use when you need to send multiple push notifications efficiently in a single request. Supports up to 10,000 notifications per batch.