Guides

Tools Reference

Complete reference for all Chipp MCP Server tools

| View as Markdown
1 min read
# mcp # api # tools # reference

This guide documents the tools available in the Chipp MCP Server, organized by category.

Quick Reference

Jump to a category or use this table to find tools quickly:

CategoryToolsDescription
Apps13Create, publish, duplicate, rollback, and deploy applications
Config9System prompts, models, settings, branding, suggestions
Knowledge13Add URLs, documents, text, link sources, crawl monitoring
Analytics14Usage data, conversations, metrics, search, moderation
Tags8Intent tagging, classification, utterance generation
Evals8Quality testing and evaluation
Custom Actions6API integrations and testing
MCP Integrations6External MCP servers and hosted integrations
Deployments10Slack, WhatsApp, Discord, GitHub, Email, Voice
Consumers4End-user management and memory
Workspaces4Workspace management
Billing5Subscription, credits, usage, capabilities
Prompt Engineering5AI-assisted prompt improvement and suggestions
Action Collections10Reusable action bundles with sharing
Variables5Application config variables
Heartbeat3Proactive messaging configuration and history
Agent Links4Agent-to-agent delegation
Database Connections5External database connections
Monetization5Consumer credit packages

Apps

Core CRUD operations for managing Chipp applications.

list_apps

List all applications accessible to the authenticated user.

Scope: apps:read

ParameterTypeRequiredDescription
workspace_idstringNoFilter to a specific workspace
limitnumberNoMax results (1-100, default 20)
offsetnumberNoPagination offset

Example:

plaintext
"List all my Chipp apps"
"Show apps in workspace 42"

get_app

Get detailed information about a specific application.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

Example:

plaintext
"Get details for app 123"
"Show me the configuration of my FAQ bot"

create_app

Create a new application in a workspace.

Scope: apps:write

ParameterTypeRequiredDescription
namestringYesApp name (1-100 chars)
workspace_idstringYesWorkspace to create in
descriptionstringNoApp description (max 2000 chars)
system_promptstringNoInitial system prompt. Server accepts up to 2M chars; the builder UI cap is derived per-model from the context window (~50% of the window at 4 chars/token).
model_idstringNoModel ID (default: GPT_4_1)

Example:

plaintext
"Create a customer support bot called HelpDesk in workspace 5"
"Make a new app named FAQ Bot with a helpful assistant prompt"

update_app

Update an existing application’s properties.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
namestringNoNew name
descriptionstringNoNew description
is_publicbooleanNoMake app publicly listed

Example:

plaintext
"Rename app 123 to 'Support Bot v2'"
"Make my FAQ app publicly listed"

delete_app

Soft-delete an application.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID

Example:

plaintext
"Delete app 123"
"Remove the test app I created"

chat_with_app

Send a message to an application and get a response. Useful for testing.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
messagestringYesMessage to send
session_idstringNoContinue existing session
đź’ˇ

Use this tool to test your apps after making changes. It’s faster than switching to the web UI.

Example:

plaintext
"Test my FAQ bot with the question 'What are your hours?'"
"Send 'hello' to app 123 to check if it's working"

search_apps

Search apps by name or description within your organization.

Scope: apps:read

ParameterTypeRequiredDescription
querystringYesSearch query to match against app names and descriptions
limitnumberNoMax results (default 10)

publish_app

Publish the current app configuration to make it live for consumers. Creates a version snapshot and deploys it.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
tagstringNoVersion tag/label (e.g. v2.0, bugfix)

Returns: version_id, already_published flag, and the tag used.


list_app_versions

List published version history for an app.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
limitnumberNoMax results (default 20)

duplicate_app

Create a copy of an existing app with all its configuration, system prompt, and settings.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID to duplicate
namestringNoName for the copy (default: Original Name (Copy))
workspace_idstringNoTarget workspace (defaults to same workspace)

restore_app_version

Restore an app’s configuration to a previous version. Does not publish — use publish_app afterward if needed.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
version_idstringYesVersion ID to restore (from list_app_versions)

rollback_app_version

Rollback an app to a previously published version and immediately publish it. Combines restore + publish in one step.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
version_idstringYesVersion ID to rollback to (must be a previously launched version)

get_app_url

Get the consumer-facing URL for an app (custom domain, vanity subdomain, or default path). Also returns the embed widget snippet.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

Returns: consumer_url, default_url, has_custom_domain, and embed_snippet.


Configuration

Manage application settings, system prompts, and branding.

get_system_prompt

Get the system prompt for an application.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

update_system_prompt

Update an application’s system prompt.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
system_promptstringYesNew system prompt text
⚠️

Changes take effect immediately for new conversations. Use chat_with_app to test before deploying to users.


get_model

Get the AI model configuration for an application.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

update_model

Change the AI model for an application.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
modelstringYesModel ID (e.g., GPT_4_1, CLAUDE_3_5_SONNET)

get_settings

Get detailed settings including RAG configuration.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

update_settings

Update application settings, capabilities, welcome messages, and suggested starters.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
settingsobjectNoSettings JSONB (auth, chat options, etc.)
capabilitiesobjectNoCapabilities JSONB (features to enable/disable)
welcome_messagesstring[]NoWelcome message rotation
suggested_messagesstring[]NoConversation starter suggestions shown to users

update_branding

Update visual branding for the application.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
primary_colorstringNoHex color code (e.g. #3B82F6)
logo_urlstringNoURL to logo image (light mode)
logo_url_darkstringNoURL to logo image (dark mode)
input_text_hintstringNoPlaceholder text for the chat input
disclaimer_textstringNoDisclaimer shown below the chat

list_suggestions

Get the suggested conversation starters shown to users on the chat interface.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

update_suggestions

Set the suggested conversation starters shown to users. Pass an empty array to clear all suggestions.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
suggestionsstring[]YesArray of suggestion strings (max 6 recommended)

Example:

plaintext
"Set the starter prompts for my support bot to: 'Track my order', 'Return an item', 'Speak to a human'"

Knowledge Sources

Manage RAG (Retrieval-Augmented Generation) knowledge bases.

list_knowledge_sources

List all knowledge sources for an application.

Scope: knowledge:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
statusstringNoFilter by status: pending, processing, completed, failed
typestringNoFilter by type: url, file, text, youtube, youtube_channel, sitemap, confluence
limitnumberNoMax results (default 50)
offsetnumberNoPagination offset

get_knowledge_source

Get details about a specific knowledge source.

Scope: knowledge:read

ParameterTypeRequiredDescription
source_idstringYesKnowledge source ID

add_url_source

Add a URL as a knowledge source. Automatically detects YouTube, Instagram, TikTok, and regular web pages.

Scope: knowledge:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
urlstringYesURL to crawl
max_depthnumberNoHow many levels deep to crawl links (default 1)
crawl_linksbooleanNoWhether to follow links on the page
max_pagesnumberNoMaximum number of pages to crawl
namestringNoCustom name for the source
ℹ️

Smart Detection: YouTube URLs extract transcripts, social media extracts content, regular URLs are crawled.

Example:

plaintext
"Add https://docs.example.com to my FAQ app and crawl 3 levels deep"
"Add this YouTube video to my training bot's knowledge base"

add_text_source

Add raw text content as a knowledge source.

Scope: knowledge:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
contentstringYesText content to add
namestringYesName for the source

Example:

plaintext
"Add this FAQ text to my support bot's knowledge base"

delete_knowledge_source

Remove a knowledge source from an application.

Scope: knowledge:write

ParameterTypeRequiredDescription
source_idstringYesKnowledge source ID

refresh_knowledge_source

Re-crawl or re-process a knowledge source to update its content.

Scope: knowledge:write

ParameterTypeRequiredDescription
source_idstringYesKnowledge source ID

list_active_crawls

List knowledge sources currently being processed or queued for an app.

Scope: knowledge:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

Returns: Active processing jobs with job type, status, attempt counts, and the source name/URL being processed.


cancel_crawl

Cancel all pending and in-progress processing jobs for a knowledge source.

Scope: knowledge:write

ParameterTypeRequiredDescription
source_idstringYesKnowledge source ID to cancel

The source status is set to failed. Jobs that are already running on a worker may complete, but no new queued jobs will start.


add_document_source

Upload one or more document files as knowledge sources. Files are provided as base64-encoded content.

Scope: knowledge:write

Supported formats: PDF, DOCX, TXT, MD, CSV, JSON, XLSX, XLS, and audio files (MP3, WAV, M4A, etc.).

ParameterTypeRequiredDescription
app_idstringYesApplication ID
filesobject[]YesArray of files (1–20)

Each file object requires fileName (with extension) and content (base64-encoded).


get_crawl_progress

Get the processing progress for a knowledge source — current status, chunk count, pages completed, and any error messages.

Scope: knowledge:read

ParameterTypeRequiredDescription
source_idstringYesKnowledge source ID

Link a knowledge source from one app to another, sharing its RAG data without duplicating it.

Scope: knowledge:write

ParameterTypeRequiredDescription
source_idstringYesKnowledge source ID to link
target_app_idstringYesApplication ID to link the source to

Remove a linked knowledge source from an app. Does not delete the original source.

Scope: knowledge:write

ParameterTypeRequiredDescription
source_idstringYesKnowledge source ID
app_idstringYesApplication ID to unlink from

list_linked_knowledge_sources

List knowledge sources linked to an app from other apps (shared sources).

Scope: knowledge:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

Analytics

Access usage data, conversations, and metrics.

Access usage data, conversations, and metrics.

get_app_analytics

Get summary analytics for an application: total sessions, messages, unique users, and date range stats.

Scope: analytics:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
sincestringNoISO date to filter from (defaults to last 30 days)

Returns: Total sessions, messages, unique users, first and last session timestamps.


search_conversations

Search conversations with filters.

Scope: analytics:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
querystringNoText to search for in messages
sincestringNoISO date to filter from
limitnumberNoMax results (default 20)
offsetnumberNoPagination offset (default 0)

Example:

plaintext
"Find conversations about refunds in my support bot"
"Show recent conversations from the last week"

get_conversation

Get a specific conversation with all messages.

Scope: analytics:read

ParameterTypeRequiredDescription
session_idstringYesSession ID

get_top_queries

Get the most common user queries.

Scope: analytics:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
limitnumberNoNumber of queries (default 20)
sincestringNoISO date to filter from (defaults to last 30 days)

get_model_usage

Get LLM model usage breakdown (token counts by model) for an app.

Scope: analytics:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
sincestringNoISO date to filter from (defaults to last 30 days)

get_response_time_analytics

Get response time statistics based on message timestamps.

Scope: analytics:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
sincestringNoISO date to filter from (defaults to last 7 days)

Returns: Total responses, avg response ms, p50, p95.


get_user_engagement

Get user engagement metrics: sessions per user, messages per session, return rate.

Scope: analytics:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
sincestringNoISO date to filter from (defaults to last 30 days)

search_messages

Search for specific text within messages across all conversations in an app.

Scope: analytics:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
querystringYesText to search for
rolestringNoFilter by role: user, assistant, or system
sincestringNoISO date to filter from
limitnumberNoMax results (default 50, max 200)
offsetnumberNoPagination offset (default 0)

Returns matching messages with a 500-character content preview and session context.


search_documentation

Full-text search within an app’s knowledge base (RAG chunks).

Scope: knowledge:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
querystringYesText to search for in knowledge content
limitnumberNoMax results (default 20)

Useful for checking what content is indexed before a chat — or debugging RAG retrieval issues.


get_tag_analytics

Get tag usage statistics for an app over a time period.

Scope: analytics:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
sincestringNoISO date to filter from (defaults to last 30 days)

Returns: Per-tag counts for total fires, active fires, removed fires, text-replaced count, avg similarity, and last fired timestamp.


get_file_analytics

Get file upload statistics for an app: upload counts and total storage by MIME type.

Scope: analytics:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
sincestringNoISO date to filter from (defaults to last 30 days)

Returns: Breakdown for both chat session uploads and consumer brain files.


get_moderation_stats

Get moderation statistics: how many conversations were frozen, had responses replaced, or triggered notifications.

Scope: analytics:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
sincestringNoISO date to filter from (defaults to last 30 days)

Returns: Tag fire counts broken down by action type (freeze, static text, notification, webhook, manually removed) and affected session count.


Get the most-used apps in your organization, ranked by session count and unique users.

Scope: analytics:read

ParameterTypeRequiredDescription
sincestringNoISO date to filter from (defaults to last 30 days)
limitnumberNoMax results (default 10)

export_conversations

Export conversations as JSON for an app within a date range.

Scope: analytics:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
sincestringYesISO date to export from (e.g. 2026-01-01)
untilstringNoISO date to export until (defaults to now)
limitnumberNoMax sessions to export (default 100, max 500)

Tags

Manage intent tags for message classification and automated responses.

list_tags

List all tags for an application.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

get_tag

Get details for a specific tag including utterances.

Scope: apps:read

ParameterTypeRequiredDescription
tag_idstringYesTag ID

create_tag

Create a new intent tag.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
namestringYesTag name
descriptionstringNoTag description
utterancesstring[]NoExample phrases that match this tag
actionobjectNoAction to take when tag matches

Action types:

  • staticText: Replace AI response with fixed text
  • freeze: Stop conversation flow
  • notification: Send webhook or email alert

Example:

plaintext
"Create a tag called 'pricing' for my sales bot with utterances like 'how much does it cost'"

update_tag

Update an existing tag.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
tag_idstringYesTag ID
namestringNoNew name
utterancesstring[]NoNew utterances
actionobjectNoNew action

delete_tag

Delete a tag.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
tag_idstringYesTag ID

list_tag_instances

List messages that matched a specific tag.

Scope: analytics:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
tag_idstringNoFilter by specific tag (optional)
limitnumberNoMax results (default 50)

remove_tag_instance

Soft-delete a specific tag detection instance from a message. The instance is marked as removed rather than permanently deleted.

Scope: apps:write

ParameterTypeRequiredDescription
tag_instance_idstringYesTag instance ID to remove

generate_utterances

Generate training utterances for a tag using AI. Utterances are example phrases that should trigger the tag — more utterances means better detection accuracy.

Scope: apps:write

ParameterTypeRequiredDescription
tag_namestringYesThe tag name (e.g. wants to cancel, billing question)
tag_descriptionstringYesDescription of what this tag detects
countnumberNoNumber of utterances to generate (default 20, max 100)

Example:

plaintext
"Generate 30 training utterances for a tag called 'pricing question' that detects when users ask about cost"

Evaluations

Create and run quality tests for your applications.

list_evals

List all evaluations for an application.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

get_eval

Get details for a specific evaluation.

Scope: apps:read

ParameterTypeRequiredDescription
eval_idstringYesEvaluation ID

create_eval

Create a new evaluation with test cases for an app.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
namestringYesEvaluation name
test_casesobject[]YesArray of test cases
evaluation_methodstringNofactuality, faithfulness, answer_relevancy, context_relevancy, or comprehensive (default: factuality)

Test case format:

json
{
  "input": "What are your hours?",
  "expected_output": "We're open 9-5 Monday through Friday"
}

update_eval

Update an existing evaluation’s name, test cases, or method.

Scope: apps:write

ParameterTypeRequiredDescription
eval_idstringYesEvaluation ID
namestringNoNew name
test_casesobject[]NoUpdated test cases
evaluation_methodstringNoNew evaluation method

delete_eval

Delete an evaluation.

Scope: apps:write

ParameterTypeRequiredDescription
eval_idstringYesEvaluation ID

run_eval

Run an evaluation against the app to score its responses on the test cases.

Scope: apps:write

ParameterTypeRequiredDescription
eval_idstringYesEvaluation ID

list_eval_results

List past evaluation runs.

Scope: apps:read

ParameterTypeRequiredDescription
eval_idstringYesEvaluation ID
limitnumberNoMax results

get_eval_result

Get detailed results from a specific evaluation run.

Scope: apps:read

ParameterTypeRequiredDescription
result_idstringYesResult ID

Custom Actions

Manage API integrations for your applications.

list_custom_actions

List all custom actions for an application.

Scope: actions:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

get_custom_action

Get details for a specific custom action.

Scope: actions:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
action_idstringYesAction ID

create_custom_action

Create a new API integration.

Scope: actions:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
namestringYesAction name
descriptionstringYesWhat the action does
methodstringYesHTTP method (GET, POST, etc.)
urlstringYesAPI endpoint URL
headersobjectNoRequest headers
body_templatestringNoRequest body template
parametersobject[]NoInput parameters
ℹ️

Custom actions have complex schemas. See the Custom Actions Guide for detailed examples.


update_custom_action

Update an existing custom action.

Scope: actions:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
action_idstringYesAction ID
(other fields)variousNoFields to update

delete_custom_action

Delete a custom action.

Scope: actions:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
action_idstringYesAction ID

test_custom_action

Test a custom action by executing it with sample parameters.

Scope: actions:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
action_idstringYesAction ID
parametersobjectNoTest parameters to pass

MCP Integrations

Connect external MCP servers to your applications.

list_mcp_integrations

List all connected MCP servers for an application.

Scope: actions:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

get_mcp_integration

Get details about a connected MCP server.

Scope: actions:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
integration_idstringYesIntegration ID

connect_mcp_server

Connect an external MCP server to an application.

Scope: actions:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
server_urlstringYesMCP server URL (must be HTTPS)
namestringNoDisplay name (defaults to server URL)
auth_typestringNoAuthentication type: NONE, BEARER, or OAUTH (default: NONE)
auth_tokenstringNoBearer token (when auth_type is BEARER)

update_mcp_integration_tools

Enable or disable the entire MCP integration, or toggle specific tools by name.

Scope: actions:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
integration_idstringYesIntegration ID
is_activebooleanNoEnable or disable the entire integration
enabled_toolsstring[]NoTool names to enable (unlisted tools are disabled)

disconnect_mcp_server

Remove an MCP server connection.

Scope: actions:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
integration_idstringYesIntegration ID

list_hosted_integrations

List hosted integration providers connected to an app (Google Drive, Gmail, Outlook, OneDrive, Slack, and others).

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

Returns: For each integration: provider, label, is_active, account_email, and requires_consumer_auth.


Deployments

Manage multi-channel deployments (Slack, WhatsApp, Email, Voice).

list_slack_deployments

List Slack workspace connections.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

get_slack_deployment

Get details about a Slack deployment.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
deployment_idstringYesDeployment ID

disconnect_slack_deployment

Remove a Slack connection.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
deployment_idstringYesDeployment ID

get_whatsapp_deployment

Get WhatsApp business configuration.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

get_voice_config

Get voice agent configuration.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

update_voice_config

Update voice agent settings.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
voice_idstringNoVoice model ID
languagestringNoLanguage code
telephony_enabledbooleanNoEnable phone number

get_email_deployment

Get email channel configuration.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

update_email_deployment

Update email channel settings.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
enabledbooleanNoEnable/disable email
from_namestringNoSender display name

get_discord_deployment

Get the Discord bot integration status for an app.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

Returns: connected, discord_app_id, is_active, and connection timestamp.


get_github_deployment

Get the GitHub App integration status for an app (auto-respond to issues and PRs).

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

Returns: connected, account_login, auto_respond_issues, and installation details.


Consumers

Manage end-users (consumers) of your applications.

list_consumers

List consumers of an app with search and filtering.

Scope: analytics:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
searchstringNoSearch by name, email, or identifier
has_emailbooleanNoFilter to consumers with/without email
sort_bystringNocreated_at, credits, name, or email (default: created_at)
sort_dirstringNoasc or desc (default: desc)
limitnumberNoMax results (default 25, max 100)
offsetnumberNoPagination offset (default 0)

get_consumer

Get details about a specific consumer including their session count.

Scope: analytics:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
consumer_idstringYesConsumer ID

update_consumer

Update a consumer’s credit balance or subscription status.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
consumer_idstringYesConsumer ID
creditsnumberNoSet credit balance (integer >= 0)
subscription_activebooleanNoEnable or disable the subscription

get_user_memories

Get the AI memories stored for a specific consumer — facts and context the AI has learned across conversations.

Scope: analytics:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
consumer_idstringYesConsumer ID
memory_typestringNoFilter by memory type (optional)
limitnumberNoMax memories to return (default 50)

Only active (non-superseded) memories are returned.


Workspaces

Manage workspaces and team members.

list_workspaces

List all workspaces you have access to.

Scope: workspace:read

ParameterTypeRequiredDescription
(none)

get_workspace

Get details about a specific workspace.

Scope: workspace:read

ParameterTypeRequiredDescription
workspace_idstringYesWorkspace ID

list_workspace_members

List members of a workspace.

Scope: workspace:read

ParameterTypeRequiredDescription
workspace_idstringYesWorkspace ID

create_workspace

Create a new workspace in your organization.

Scope: workspace:write

ParameterTypeRequiredDescription
namestringYesWorkspace name

Example:

plaintext
"Create a new workspace called Marketing"

Billing

View subscription and credit information.

get_subscription

Get subscription details for an organization.

Scope: billing:read

ParameterTypeRequiredDescription
(none)

get_credits

Get credit balance and usage.

Scope: billing:read

ParameterTypeRequiredDescription
(none)

get_usage

Get LLM token usage and non-LLM usage events for the organization.

Scope: billing:read

ParameterTypeRequiredDescription
sincestringNoISO date to filter from (defaults to last 30 days)

get_usage_by_app

Get token usage broken down by app for the organization.

Scope: billing:read

ParameterTypeRequiredDescription
sincestringNoISO date to filter from (defaults to last 30 days)

Returns: Per-app totals for call_count, total_input_tokens, and total_output_tokens.


get_capabilities

Get a boolean map of all feature capabilities for the organization — what features are available based on tier, add-ons, and feature flags.

Scope: billing:read

ParameterTypeRequiredDescription
(none)

Prompt Engineering

AI-assisted tools for improving prompts and selecting models.

list_available_models

List all AI models available for use.

Scope: apps:read

ParameterTypeRequiredDescription
(none)

generate_system_prompt

Generate a new system prompt from a description.

Scope: apps:write

ParameterTypeRequiredDescription
descriptionstringYesWhat the app should do, its personality, and target audience
tonestringNoDesired tone (professional, friendly, technical, casual)

improve_system_prompt

Use AI to analyze and improve an existing system prompt.

Scope: apps:write

ParameterTypeRequiredDescription
system_promptstringYesThe current system prompt to improve
focusstringNoWhat to focus on: clarity, safety, personality, instructions, all (default: all)

recommend_model

Get AI-powered model recommendations for your use case.

Scope: apps:read

ParameterTypeRequiredDescription
use_casestringYesDescription of the use case (e.g. customer support, code generation)
prioritystringNoquality, speed, or cost (default: quality)

generate_suggestions

Generate conversation starter suggestions for an app based on its system prompt. These are the suggested messages shown to users to begin a conversation.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
countnumberNoNumber of suggestions to generate (default 4, max 10)
stylestringNoquestion, task, exploratory, or mixed (default: mixed)

Example:

plaintext
"Generate 6 starter suggestions for my customer support bot"

Action Collections

Manage reusable action bundles that can be linked to multiple applications.

list_action_collections

List action collections owned by you or shared within your organization.

Scope: actions:read

ParameterTypeRequiredDescription
workspace_idstringNoFilter by workspace

get_action_collection

Get details for a specific action collection.

Scope: actions:read

ParameterTypeRequiredDescription
collection_idstringYesCollection ID

create_action_collection

Create a new action collection.

Scope: actions:write

ParameterTypeRequiredDescription
namestringYesCollection name
descriptionstringNoCollection description
workspace_idstringNoWorkspace to create in

update_action_collection

Update an action collection’s name or description.

Scope: actions:write

ParameterTypeRequiredDescription
collection_idstringYesCollection ID
namestringNoNew collection name
descriptionstringNoNew collection description

delete_action_collection

Delete an action collection. Also removes it from any linked apps.

Scope: actions:write

ParameterTypeRequiredDescription
collection_idstringYesCollection ID

Link an action collection to an application, making its actions available.

Scope: actions:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
collection_idstringYesCollection ID

Remove an action collection from an application.

Scope: actions:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
collection_idstringYesCollection ID

list_linked_collections

List all action collections linked to a specific application.

Scope: actions:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

update_collection_sharing

Update the sharing scope of an action collection.

Scope: actions:write

ParameterTypeRequiredDescription
collection_idstringYesCollection ID
sharing_scopestringYesPRIVATE, WORKSPACE, or PUBLIC
  • PRIVATE — only you can see it
  • WORKSPACE — anyone in your workspace can discover and link it
  • PUBLIC — visible in the marketplace

import_collection_tools

Import tools from an action collection into an app as standalone custom actions. Unlike link_collection_to_app, imported tools are independent copies you can modify freely without affecting the source collection.

Scope: actions:write

ParameterTypeRequiredDescription
collection_idstringYesCollection ID to import from
app_idstringYesApplication ID to import into

Returns: Count of imported tools and any that were skipped due to slug conflicts.


Variables

Manage application variables (key-value configuration used by custom actions).

list_app_variables

List all variables for an application.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

get_app_variable

Get details for a specific application variable.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
variable_idstringYesVariable ID

create_app_variable

Create a new application variable.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
namestringYesVariable name
labelstringNoDisplay label
typestringNoVariable type
descriptionstringNoVariable description
requiredbooleanNoWhether the variable is required

update_app_variable

Update an application variable’s value, label, or description.

Scope: apps:write

ParameterTypeRequiredDescription
variable_idstringYesVariable ID
valuestringNoNew variable value
labelstringNoNew display label
descriptionstringNoNew description

delete_app_variable

Delete an application variable.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
variable_idstringYesVariable ID

Heartbeat

Configure and monitor proactive messaging (heartbeat) — your app reaching out to consumers on a schedule.

get_heartbeat_config

Get the heartbeat configuration for an app.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

Returns: enabled, every, prompt, checklist, targets, and model.


update_heartbeat_config

Update heartbeat configuration. Set the interval, prompt, delivery channels, and model.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
enabledbooleanNoEnable or disable heartbeat
everystringNoInterval (e.g. 30m, 1h, 4h, 1d)
promptstringNoCustom prompt for heartbeat messages
checkliststringNoCriteria for what the heartbeat should check
targetsstring[]NoDelivery channels: whatsapp, slack, email, webchat, webhook
modelstringNoLLM model to use for heartbeat messages

list_heartbeat_runs

List recent heartbeat runs for an app — shows which consumers were contacted and outcomes.

Scope: analytics:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
limitnumberNoMax results (default 20)

Link agents (apps) together so one app can call another as a tool during chat.

List agents linked to an app.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

list_available_agents

List agents available to link to an app (apps in the same organization not already linked).

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

Link another agent (app) to this app so it can be called as a tool during chat.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesSource application ID (the app that will call the agent)
target_app_idstringYesTarget application ID (the agent to link)

Example:

plaintext
"Link the 'Booking Agent' app to my 'Customer Support' app"

Remove an agent link from an app.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesSource application ID
target_app_idstringYesTarget application ID to unlink

Database Connections

Manage external database connections attached to apps. Supported types: postgres, mysql, mssql, bigquery, snowflake, clickhouse.

list_database_connections

List external database connections for an app.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

get_database_connection

Get details about a database connection.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID
connection_idstringYesConnection ID

create_database_connection

Create a new external database connection for an app. Connection strings are encrypted at rest.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
namestringYesDisplay name
db_typestringYespostgres, mysql, mssql, bigquery, snowflake, or clickhouse
connection_stringstringYesConnection string/DSN
default_access_levelstringNoread or read_write (default: read)
allowed_tablesstring[]NoRestrict access to specific tables (all tables if omitted)
max_rowsnumberNoMax rows per query result (default: 1000)

delete_database_connection

Delete a database connection from an app.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
connection_idstringYesConnection ID

test_database_connection

Test a database connection and discover its schema (tables, columns, types).

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
connection_idstringYesConnection ID

Monetization

Manage credit packages that consumers can purchase within your app.

list_consumer_packages

List credit packages available for consumers to purchase in an app.

Scope: apps:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

create_consumer_package

Create a new credit package for consumer purchase. Supports one-time and subscription packages.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
namestringYesPackage name (e.g. Starter Pack)
typestringYesONE_TIME or SUBSCRIPTION
creditsnumberYesNumber of credits in the package
price_centsnumberYesPrice in cents (e.g. 999 = $9.99)
descriptionstringNoPackage description
billing_intervalstringNoFor subscriptions: month or year (default: month)
sort_ordernumberNoDisplay order (lower = first, default: 0)

update_consumer_package

Update a consumer credit package.

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
package_idstringYesPackage ID
namestringNoNew name
creditsnumberNoNew credit amount
price_centsnumberNoNew price in cents
descriptionstringNoNew description
is_activebooleanNoEnable/disable
statusstringNoDRAFT or PUBLISHED
sort_ordernumberNoNew display order

delete_consumer_package

Delete a consumer credit package (soft delete).

Scope: apps:write

ParameterTypeRequiredDescription
app_idstringYesApplication ID
package_idstringYesPackage ID

get_monetization_stats

Get monetization analytics for an app: total revenue, purchases, active subscriptions, and unique customers.

Scope: analytics:read

ParameterTypeRequiredDescription
app_idstringYesApplication ID

Appendix

Permission Scopes

ScopeDescription
apps:readRead app configurations
apps:writeCreate, update, delete apps
knowledge:readRead knowledge sources
knowledge:writeManage knowledge sources
actions:readRead custom actions
actions:writeManage custom actions
analytics:readRead analytics data
workspace:readRead workspace info
billing:readRead billing data
*All permissions

Common Error Codes

CodeDescriptionResolution
UNAUTHORIZEDInvalid or expired tokenRe-authenticate
FORBIDDENInsufficient scopeRequest additional scopes
NOT_FOUNDResource doesn’t existCheck ID is correct
RATE_LIMITEDToo many requestsWait and retry
VALIDATION_ERRORInvalid parametersCheck parameter types/values

Next Steps