cognigy-ai-mcp-management-server
v0.2.1MCP server for Cognigy.AI - 132 tools to build, configure & operate conversational AI agents
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_projects
Lists all Cognigy.AI projects accessible by your API key. Use this to discover available projects before working with flows, intents, or other resources.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of projects to return (1-100, default 25) |
list_flows
Lists all flows in a Cognigy.AI project. Flows are conversation logic containers. Use this to discover flows before reading or modifying them.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | The project ID to list flows from |
limit | integer | Maximum number of flows to return (1-100, default 25) |
get_flow
Gets detailed metadata about a specific Cognigy.AI flow. Returns flow configuration, locale info, and timestamps. Use this to inspect a flow before modifying it.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID to retrieve |
get_flow_settings
Gets the settings/configuration of a Cognigy.AI flow. Returns NLU settings, thresholds, and other flow-level configurations. Use this before updating flow settings.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID to retrieve settings for |
get_latest_log_entries
Gets the latest execution log entries from a Cognigy.AI project. Use this for debugging flow execution, viewing errors, or monitoring agent behavior.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | The project ID to retrieve logs from |
flowName | string | Filter logs by flow name |
limit | integer | Maximum number of log entries to return (1-100, default 25) |
type | array | Filter by log level(s): debug, info, warn, error |
get_nodes
Lists all nodes in a Cognigy.AI flow. Nodes are the building blocks of conversation logic (Say, Question, If, Code, etc.). Use this to explore flow structure before reading specific nodes or modifying the flow.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID to list nodes from |
limit | integer | Maximum number of nodes to return (1-100, default 25) |
get_node
Gets detailed configuration of a specific node in a Cognigy.AI flow. Returns the node's type, label, config fields, and settings. Use this to inspect node behavior before modifying it.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID containing the node |
nodeId * | string | The node ID to retrieve |
localeId | string | Optional locale ID for localized content |
search_nodes
Searches for nodes in a Cognigy.AI flow by text content. Finds nodes containing the search term in their configuration (messages, conditions, code, etc.). Use this to locate specific content within large flows.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID to search within |
localeId * | string | The locale ID to search in |
query * | string | The search text to find in node content |
get_node_descriptors
Gets all available node types (blueprints) that can be created in a Cognigy.AI flow. Returns node type definitions including their fields, appearance, and constraints. Use this to understand what nodes can be added to a flow.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID to get available node types for |
list_intents
Lists all intents in a Cognigy.AI flow. Intents are the NLU triggers that match user utterances to flow logic. Use this to explore NLU configuration before training or modifying intents.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID to list intents from |
includeChildren | boolean | Include child intents in the results |
limit | integer | Maximum number of intents to return (1-100, default 25) |
localeId | string | Optional locale ID for localized content |
get_intent
Gets detailed configuration of a specific intent in a Cognigy.AI flow. Returns the intent's conditions, rules, confirmation sentences, and settings. Use this to inspect NLU behavior before modifying.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID containing the intent |
intentId * | string | The intent ID to retrieve |
localeId | string | Optional locale ID for localized content |
list_endpoints
Lists all endpoints in a Cognigy.AI project. Endpoints are channel connectors (Webchat, REST, Voice, etc.) that expose flows/agents to users. Use this to discover deployed channels.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | The project ID to list endpoints from |
limit | integer | Maximum number of endpoints to return (1-100, default 25) |
get_endpoint
Gets detailed configuration of a specific Cognigy.AI endpoint. Returns channel settings, flow/agent binding, and runtime configuration. Use this to inspect endpoint behavior.
| Parameter | Type | Description |
|---|---|---|
endpointId * | string | The endpoint ID to retrieve |
inject_context
Injects context data into a Cognigy.AI session. Context is shared state accessible by flow nodes. Use this to set user data, preferences, or state before/during conversations.
| Parameter | Type | Description |
|---|---|---|
context * | object | The context object to inject (key-value pairs) |
sessionId * | string | The session ID to inject context into |
userId * | string | The user ID for the session |
reset_context
Resets the context for a Cognigy.AI session, clearing all stored state. Use this to start a fresh conversation or clear user data during testing.
| Parameter | Type | Description |
|---|---|---|
entrypoint * | string | The entrypoint (project or snapshot ID) |
flowReferenceId * | string | The flow reference ID |
sessionId * | string | The session ID to reset context for |
userId * | string | The user ID for the session |
get_conversations
Gets conversations for specific contacts in a Cognigy.AI project. Returns conversation history including inputs, outputs, and metadata. Use this to analyze user interactions.
| Parameter | Type | Description |
|---|---|---|
contactIds * | array | Array of contact IDs to get conversations for |
projectId * | string | The project ID to get conversations from |
get_conversation
Gets conversation details for a specific Cognigy.AI session. Returns all inputs/outputs, timestamps, and metadata for the session. Use this to analyze a complete conversation thread.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | The session ID to get conversation for |
projectId | string | Optional project ID to scope the query |
get_transcript
Assembles a human-readable transcript for a Cognigy.AI session. Shows the conversation flow between user and bot in chronological order. Use this for reviewing conversation quality or debugging.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | The session ID to get transcript for |
format | string | Output format: 'full' includes all metadata, 'compact' shows just the conversation flow |
projectId | string | Optional project ID to scope the query |
list_snapshots
Lists all snapshots in a Cognigy.AI project. Snapshots are versioned backups of project configuration used for deployment and rollback. Use this to see available versions.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | The project ID to list snapshots from |
limit | integer | Maximum number of snapshots to return (1-100, default 25) |
get_snapshot
Gets detailed information about a specific Cognigy.AI snapshot. Returns name, description, hash, and packaging status. Use this to inspect a version before deployment.
| Parameter | Type | Description |
|---|---|---|
snapshotId * | string | The snapshot ID to retrieve |
get_snapshot_resources
Lists resources (flows, locales, NLU connectors, LLMs) contained in a Cognigy.AI snapshot. Use this to inspect what a snapshot contains before restoring or to compare versions.
| Parameter | Type | Description |
|---|---|---|
resourceType * | string | Type of resources to list |
snapshotId * | string | The snapshot ID to list resources from |
limit | integer | Maximum number of resources to return (1-100, default 25) |
list_tasks
Lists async tasks in Cognigy.AI. Tasks track long-running operations like snapshot creation, training, and imports. Use this to monitor background job status.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of tasks to return (1-100, default 25) |
projectId | string | Optional project ID to filter tasks |
get_task
Gets detailed status of a specific Cognigy.AI async task. Returns progress, status, and failure reason if applicable. Use this to poll long-running operations to completion.
| Parameter | Type | Description |
|---|---|---|
taskId * | string | The task ID to retrieve |
projectId | string | Optional project ID to scope the query |
create_node
Creates a new node in a Cognigy.AI flow. MUTATING: This modifies the flow. Use dryRun=true (default) to validate first. Nodes are the building blocks of conversation logic (Say, Question, If, Code, etc.).
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID where the node will be created |
targetNodeId * | string | The ID of the target node relative to which this node will be positioned |
type * | string | Node type (e.g., 'say', 'question', 'if', 'code', 'executeFlow'). Use get_node_descriptors to list available types. |
comment | string | Developer comment/note for this node |
config | object | Node-specific configuration object. Structure depends on node type. |
dryRun | boolean | If true (default), validates the operation without creating the node. Set to false to actually create. |
extension | string | Extension ID if this is a custom extension node |
label | string | Display label for the node in the flow editor |
mode | string | How to position the new node relative to target: append (after), prepend (before), appendChild/prependChild (as child), insertChildAt (at position), insertAfter, insertBefore |
position | integer | Position index when using insertChildAt mode |
update_node
Updates an existing node in a Cognigy.AI flow. MUTATING: This modifies the node. Use dryRun=true (default) to validate first. Only provided fields are updated; others remain unchanged.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID containing the node |
nodeId * | string | The ID of the node to update |
analyticsLabel | string | Label used in analytics reporting |
comment | string | New developer comment/note |
config | object | Node-specific configuration to update. Structure depends on node type. Only provided fields are updated. |
dryRun | boolean | If true (default), validates the operation without updating. Set to false to actually update. |
isDisabled | boolean | Whether the node is disabled (skipped during execution) |
label | string | New display label for the node |
localeId | string | Locale ID if updating locale-specific content |
delete_node
Deletes a node from a Cognigy.AI flow. MUTATING & DESTRUCTIVE: This permanently removes the node. Use dryRun=true (default) to validate first. Child nodes may also be affected.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID containing the node to delete |
nodeId * | string | The ID of the node to delete |
dryRun | boolean | If true (default), validates the operation without deleting. Set to false to actually delete. WARNING: Deletion cannot be undone via API. |
move_node
Moves a node to a new position in a Cognigy.AI flow. MUTATING: This reorganizes the flow structure. Use dryRun=true (default) to validate first. Moving nodes affects execution order.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID containing the node |
mode * | string | How to position relative to target: append (as next sibling), prepend (as previous sibling), insertChildAt (as child at position), insertAfter, insertBefore |
nodeId * | string | The ID of the node to move |
targetNodeId * | string | The ID of the target node to move relative to |
dryRun | boolean | If true (default), validates the operation without moving. Set to false to actually move the node. |
position | integer | Position index when using insertChildAt mode |
generate_node_output
Uses Cognigy's generative AI to create content for Say nodes. Generates either plain text messages or rich Adaptive Cards based on a natural language prompt. Returns content you can use with create_node or update_node.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID (used for context, e.g., persona settings) |
localeId * | string | The locale ID for language-appropriate generation |
prompt * | string | Natural language description of what content to generate (e.g., 'greeting message for a banking bot', 'poll for scheduling a meeting') |
generateContentLimit | integer | Maximum number of text variations to generate (for text output type, 1-10) |
lastOutput | string | Previous generation result to refine or continue from |
outputType | string | Type of content to generate: 'text' for plain Say messages, 'adaptiveCard' for rich interactive cards |
create_intent
Creates a new intent in a Cognigy.AI flow for NLU recognition. MUTATING: This modifies the flow. Use dryRun=true (default) to validate first. After creating, use train_intents to train the NLU model.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID where the intent will be created |
name * | string | Intent name (unique within the flow) |
condition | string | CognigyScript condition for additional matching constraints |
confirmationSentences | array | Sentences used for intent confirmation |
description | string | Human-readable description of what this intent recognizes |
dryRun | boolean | If true (default), validates without creating. Set to false to actually create. |
exampleSentences | array | Initial training sentences for the intent (created as example sentences, same as create_sentence) |
isDisabled | boolean | Whether the intent is disabled (won't match) |
localeId | string | Locale ID for the example sentences. Defaults to the locale the intent is created in. |
rules | array | Additional rule patterns for matching |
tags | array | Tags for organizing intents |
update_intent
Updates an existing intent in a Cognigy.AI flow. MUTATING: This modifies the intent. Use dryRun=true (default) to validate first. After updating, call train_intents to retrain the NLU model.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID containing the intent |
intentId * | string | The ID of the intent to update |
condition | string | New CognigyScript condition |
confirmationSentences | array | New confirmation sentences (replaces existing) |
description | string | New description |
disambiguationSentence | string | Sentence shown when disambiguating between intents |
dryRun | boolean | If true (default), validates without updating. Set to false to actually update. |
isDisabled | boolean | Whether the intent is disabled |
localeId | string | Locale ID for locale-specific updates |
name | string | New intent name |
rules | array | New rule patterns (replaces existing) |
tags | array | New tags array (replaces existing) |
delete_intent
Deletes an intent from a Cognigy.AI flow. MUTATING & DESTRUCTIVE: This permanently removes the intent and its example sentences. Use dryRun=true (default) to validate first. After deleting, call train_intents to retrain.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID containing the intent |
intentId * | string | The ID of the intent to delete |
dryRun | boolean | If true (default), validates without deleting. Set to false to actually delete. WARNING: Deletion cannot be undone. |
train_intents
Trains the NLU model for a Cognigy.AI flow. MUTATING: This triggers model training. Use dryRun=true (default) to validate first. Training is async - this tool polls until completion or timeout.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID to train intents for |
dryRun | boolean | If true (default), validates without training. Set to false to actually train. |
localeId | string | Specific locale to train. If omitted, trains all locales. |
mode | string | Training mode: 'full' for complete retraining, 'quick' for incremental updates |
pollIntervalMs | integer | How often to check task status (1-10 seconds, default 2) |
timeoutMs | integer | Maximum time to wait for training to complete (5-300 seconds, default 60) |
list_sentences
Lists example sentences (training data) for a Cognigy.AI NLU intent. Use this to review training data quality before training.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID containing the intent |
intentId * | string | The intent ID to list sentences for |
limit | integer | Maximum number of sentences to return (1-100, default 25) |
create_sentence
Creates a new example sentence for Cognigy.AI NLU intent training. MUTATING: This modifies the intent's training data. Use dryRun=true (default) to validate first. After creating, call train_intents to retrain.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID containing the intent |
intentId * | string | The intent ID to add the sentence to |
localeId * | string | The locale ID for this sentence |
text * | string | The example sentence text |
dryRun | boolean | If true (default), validates without creating. Set to false to actually create. |
generate_sentences
Uses Cognigy AI to generate example sentences for an intent. The generated sentences are NOT automatically added - use create_sentence to add them. Useful for quickly expanding NLU training data.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID containing the intent |
intentId * | string | The intent ID to generate sentences for |
limit | integer | Number of sentences to generate (5-20, default 5) |
localeId | string | Optional locale ID for locale-specific generation |
list_playbooks
Lists all playbooks in a Cognigy.AI project. Playbooks are automated test scenarios with steps and assertions for testing conversational flows.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | The project ID to list playbooks from |
limit | integer | Maximum number of playbooks to return (1-100, default 25) |
get_playbook
Gets detailed Cognigy.AI playbook configuration including all steps and assertions. Use this to understand what a playbook tests before running it.
| Parameter | Type | Description |
|---|---|---|
playbookId * | string | The playbook ID to retrieve |
run_playbook
Runs a Cognigy.AI playbook test scenario against a flow. MUTATING: This executes test assertions. Use dryRun=true (default) to validate first. Returns pass/fail results with assertion details.
| Parameter | Type | Description |
|---|---|---|
entrypoint * | string | The snapshot or project ID to run against |
flowId * | string | The reference ID of the flow to test |
localeId * | string | The reference ID of the locale |
playbookId * | string | The playbook ID to run |
dryRun | boolean | If true (default), validates without running. Set to false to actually run the playbook. |
pollIntervalMs | integer | How often to check task status (1-10 seconds, default 3) |
timeoutMs | integer | Maximum time to wait for playbook completion (5-300 seconds, default 120) |
list_playbook_runs
Lists Cognigy.AI playbook run history showing pass/fail status, timestamps, and run metadata. Use this to review test results over time.
| Parameter | Type | Description |
|---|---|---|
playbookId * | string | The playbook ID to list runs for |
limit | integer | Maximum number of runs to return (1-100, default 25) |
get_playbook_run
Gets detailed results of a Cognigy.AI playbook run including step-by-step assertion outcomes. Use this to analyze test failures and debug conversation flows.
| Parameter | Type | Description |
|---|---|---|
playbookId * | string | The playbook ID |
playbookRunId * | string | The playbook run ID to retrieve |
generate_nlu_scores
Scores a test utterance against a Cognigy.AI flow's trained NLU intents. Returns ranked intent matches with confidence scores. Use this to test NLU recognition before deployment.
| Parameter | Type | Description |
|---|---|---|
flowReferenceId * | string | The reference ID (UUID) of the flow to score against |
localeReferenceId * | string | The reference ID (UUID) of the locale |
projectId * | string | The project ID containing the flow |
sentence * | string | The test utterance to score against trained intents |
score_utterance
Scores a test utterance against a Cognigy.AI flow's trained NLU intents. Returns the best matching intent with confidence score. Use this to quickly test if an utterance would be recognized correctly.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID to score against (will be converted to reference ID) |
projectId * | string | The project ID containing the flow |
utterance * | string | The test utterance to score |
localeId | string | Optional locale ID (will use flow's default if not provided) |
threshold | number | Minimum score threshold to include in results (0-1, default 0.4) |
run_regression
Runs all Cognigy.AI playbooks in a project as a regression test suite. MUTATING: This executes tests. Use dryRun=true (default) to preview. Returns pass/fail summary with failing playbooks highlighted.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow reference ID to test against |
localeId * | string | The locale reference ID |
projectId * | string | The project ID to run regression tests for |
dryRun | boolean | If true (default), lists playbooks without running. Set to false to actually run. |
entrypoint | string | Optional snapshot ID. If not provided, uses the project as entrypoint. |
timeoutPerPlaybook | integer | Timeout per playbook in ms (10-300 seconds, default 60) |
audit_nlu
Audits Cognigy.AI NLU quality for a flow. Identifies intents with too few training sentences, disabled intents, and optionally checks for overlapping intents. Use this before deployment to ensure NLU quality.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID to audit |
checkOverlap | boolean | If true, tests for overlapping intents using NLU scoring (slower) |
minSentences | integer | Minimum recommended sentences per intent (default 5) |
projectId | string | Required if checkOverlap=true - project ID for NLU scoring |
create_snapshot
Creates a snapshot of a Cognigy.AI project. Snapshots capture the entire project configuration (flows, intents, endpoints, etc.) for backup or deployment. MUTATING: Set dryRun=false to create. Async operation - polls until complete.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name for the snapshot (e.g., 'v1.0.0', 'pre-release-backup') |
projectId * | string | The project ID to create a snapshot of |
description | string | Optional description of what this snapshot contains or why it was created |
dryRun | boolean | If true (default), validates without creating. Set to false to actually create the snapshot. |
pollIntervalMs | integer | How often to check task status (1-10 seconds, default 3) |
timeoutMs | integer | Maximum time to wait for snapshot creation (5-600 seconds, default 120) |
delete_snapshot
Deletes a snapshot from a Cognigy.AI project. DESTRUCTIVE & IRREVERSIBLE: The snapshot and all its data will be permanently removed. Use dryRun=true (default) to validate first. Async operation.
| Parameter | Type | Description |
|---|---|---|
snapshotId * | string | The snapshot ID to delete |
dryRun | boolean | If true (default), validates without deleting. Set to false to actually delete. WARNING: This is irreversible! |
pollIntervalMs | integer | How often to check task status (1-10 seconds, default 2) |
timeoutMs | integer | Maximum time to wait for deletion (5-300 seconds, default 60) |
create_snapshot_download_link
Creates a temporary download link for a Cognigy.AI snapshot. The link can be used to download the snapshot as a file for backup or transfer to another environment. Links are time-limited.
| Parameter | Type | Description |
|---|---|---|
snapshotId * | string | The snapshot ID to create a download link for |
restore_snapshot
Restores a snapshot to its Cognigy.AI project, replacing the current configuration. DESTRUCTIVE: Current project state will be overwritten with the snapshot's state. Use dryRun=true (default) to validate first. Async operation.
| Parameter | Type | Description |
|---|---|---|
snapshotId * | string | The snapshot ID to restore |
dryRun | boolean | If true (default), validates without restoring. Set to false to actually restore. WARNING: This replaces the current project configuration! |
pollIntervalMs | integer | How often to check task status (1-10 seconds, default 3) |
timeoutMs | integer | Maximum time to wait for restore (5-600 seconds, default 180) |
package_snapshot
Packages a Cognigy.AI snapshot for download or transfer. Creates a downloadable package from the snapshot. Use create_snapshot_download_link after packaging to get the download URL. MUTATING: Set dryRun=false to package. Async operation.
| Parameter | Type | Description |
|---|---|---|
snapshotId * | string | The snapshot ID to package |
dryRun | boolean | If true (default), validates without packaging. Set to false to actually package. |
pollIntervalMs | integer | How often to check task status (1-10 seconds, default 3) |
timeoutMs | integer | Maximum time to wait for packaging (5-600 seconds, default 120) |
upload_snapshot_package
Uploads a snapshot package file to a Cognigy.AI project. Use this to restore a previously downloaded snapshot or transfer a snapshot between environments. MUTATING: Set dryRun=false to upload. Async operation.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Local file path to the snapshot package file (e.g., './snapshot.csnap' or 'C:/snapshots/backup.csnap') |
projectId * | string | The target project ID to upload the snapshot package to |
dryRun | boolean | If true (default), validates the file exists without uploading. Set to false to actually upload. |
pollIntervalMs | integer | How often to check task status (1-10 seconds, default 3) |
timeoutMs | integer | Maximum time to wait for upload and processing (5-600 seconds, default 180) |
list_packages
Lists packages in a Cognigy.AI project. Packages are portable bundles of resources (flows, intents, etc.) that can be transferred between projects or environments.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of packages to return (1-100, default 25) |
projectId | string | Project ID to list packages for. If omitted, lists all accessible packages. |
get_package
Gets detailed information about a Cognigy.AI package including its name, description, and contained resources.
| Parameter | Type | Description |
|---|---|---|
packageId * | string | The package ID to get details for |
create_package
Creates a package from selected resources in a Cognigy.AI project. Packages bundle flows, endpoints, and other resources for transfer between projects. MUTATING: Set dryRun=false to create. Async operation.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name for the package |
projectId * | string | The project ID to create the package in |
resourceIds * | array | Array of resource IDs to include in the package (flows, endpoints, etc.) |
description | string | Optional description of the package |
dryRun | boolean | If true (default), validates without creating. Set to false to actually create. |
pollIntervalMs | integer | How often to check task status (1-10 seconds, default 3) |
timeoutMs | integer | Maximum time to wait for package creation (5-600 seconds, default 120) |
delete_package
Deletes a package from a Cognigy.AI project. DESTRUCTIVE & IRREVERSIBLE: The package will be permanently removed. Use dryRun=true (default) to validate first. Async operation.
| Parameter | Type | Description |
|---|---|---|
packageId * | string | The package ID to delete |
dryRun | boolean | If true (default), validates without deleting. Set to false to actually delete. WARNING: This is irreversible! |
pollIntervalMs | integer | How often to check task status (1-10 seconds, default 2) |
timeoutMs | integer | Maximum time to wait for deletion (5-300 seconds, default 60) |
merge_package
Merges a package into a Cognigy.AI project, importing selected resources. Use localeMapping to map package locales to project locales. KNOWN LIMITATION: in live testing (Cognigy 2026.20) every merge failed with 'Resource with id ... is not in the source', and the public API offers no way to list a package's resources; if this happens, import the package in the Cognigy.AI UI instead. MUTATING: Set dryRun=false to merge. Async operation.
| Parameter | Type | Description |
|---|---|---|
localeMapping * | array | Mapping of package locales to project locales |
packageId * | string | The package ID to merge |
resourceIds * | array | Array of resource IDs from the package to import |
dryRun | boolean | If true (default), validates without merging. Set to false to actually merge. WARNING: This modifies the target project! |
pollIntervalMs | integer | How often to check task status (1-10 seconds, default 3) |
strategies | array | Optional conflict resolution strategies per resource type |
timeoutMs | integer | Maximum time to wait for merge (5-600 seconds, default 180) |
upload_package
Uploads a package file to a Cognigy.AI project. Use this to import a previously downloaded package or transfer resources between environments. MUTATING: Set dryRun=false to upload. Async operation.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Local file path to the package file |
projectId * | string | The target project ID to upload the package to |
dryRun | boolean | If true (default), validates the file exists without uploading. Set to false to actually upload. |
pollIntervalMs | integer | How often to check task status (1-10 seconds, default 3) |
timeoutMs | integer | Maximum time to wait for upload and processing (5-600 seconds, default 180) |
create_package_download_link
Creates a temporary download link for a Cognigy.AI package. The link can be used to download the package file for backup or transfer. Links are time-limited.
| Parameter | Type | Description |
|---|---|---|
packageId * | string | The package ID to create a download link for |
diff_snapshots
Compares two Cognigy.AI snapshots and shows what changed (added, removed, modified resources). Useful for reviewing changes before deployment or understanding what a snapshot update will affect.
| Parameter | Type | Description |
|---|---|---|
snapshotIdA * | string | The 'before' snapshot ID (base for comparison) |
snapshotIdB * | string | The 'after' snapshot ID (what changed) |
resourceTypes | array | Types of resources to compare. Supported: flow, nluconnector, locale, largeLanguageModel (default: all) |
promote_snapshot
Promotes a Cognigy.AI snapshot for deployment by packaging it and generating a download link. Use this to prepare a snapshot for transfer to another environment. MUTATING: Set dryRun=false to package. Async operation.
| Parameter | Type | Description |
|---|---|---|
snapshotId * | string | The snapshot ID to promote |
dryRun | boolean | If true (default), validates without packaging. Set to false to actually package and generate download link. |
pollIntervalMs | integer | How often to check task status (1-10 seconds, default 3) |
timeoutMs | integer | Maximum time to wait for packaging (5-600 seconds, default 180) |
clone_flow
Clones a Cognigy.AI flow within the same project. Creates an exact copy of the flow including all nodes, intents, and configurations. The cloned flow gets an auto-generated name. MUTATING: Set dryRun=false to clone.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | The flow ID to clone |
dryRun | boolean | If true (default), validates without cloning. Set to false to actually clone. |
list_connections
Lists Cognigy.AI connections (external service integrations like databases, APIs, etc.). Connections store credentials securely. Use this to find available connections for a project or organization.
| Parameter | Type | Description |
|---|---|---|
filter | string | Filter connections by name |
limit | number | Maximum number of connections to return (default: 25, max: 100) |
projectId | string | Filter connections by project ID. Omit for all accessible connections. |
resourceLevel | string | Scope: 'organisation' for global connections, 'project' for project-specific |
skip | number | Number of items to skip for pagination |
get_connection
Gets detailed information about a specific Cognigy.AI connection. Returns connection metadata and schema. NOTE: Secret values are REDACTED for security - this tool only shows field names, not actual credentials.
| Parameter | Type | Description |
|---|---|---|
connectionId * | string | The connection ID to retrieve |
create_connection
Creates a new Cognigy.AI connection for external service integration. Connections securely store credentials like API keys, passwords, and tokens. MUTATING: Set dryRun=false to create.
| Parameter | Type | Description |
|---|---|---|
extension * | string | Name of the extension that defines the connection type (see list_extensions / get_extension) |
name * | string | Name for the connection |
projectId * | string | The project ID to create the connection in |
type * | string | Connection type as defined by the extension's connection schema (e.g., 'http-basic-auth', 'api-key') |
dryRun | boolean | If true (default), validates without creating. Set to false to actually create. |
fields | object | Connection field values as key-value pairs (e.g., { apiKey: '...', baseUrl: '...' }) |
update_connection
Updates an existing Cognigy.AI connection. Use this to change connection name or update credential values. MUTATING: Set dryRun=false to update.
| Parameter | Type | Description |
|---|---|---|
connectionId * | string | The connection ID to update |
dryRun | boolean | If true (default), validates without updating. Set to false to actually update. |
fields | object | Connection field values to update as key-value pairs |
name | string | New name for the connection |
delete_connection
Deletes a Cognigy.AI connection. WARNING: This is destructive and cannot be undone. Flows using this connection will break. MUTATING: Set dryRun=false to delete.
| Parameter | Type | Description |
|---|---|---|
connectionId * | string | The connection ID to delete |
dryRun | boolean | If true (default), validates without deleting. Set to false to actually delete. |
list_llms
Lists Cognigy.AI large language model configurations. LLMs are used for generative AI features like Knowledge AI, AI Agents, and node output generation. Shows provider, model type, and connection info.
| Parameter | Type | Description |
|---|---|---|
filter | string | Filter LLMs by name |
limit | number | Maximum number of LLMs to return (default: 25, max: 100) |
projectId | string | Filter LLMs by project ID. Omit for all accessible LLMs. |
resourceLevel | string | Scope: 'organisation' for global LLMs, 'project' for project-specific |
skip | number | Number of items to skip for pagination |
get_llm
Gets detailed configuration of a specific Cognigy.AI large language model. Returns provider settings, model type, connection details, and fallback configuration.
| Parameter | Type | Description |
|---|---|---|
largeLanguageModelId * | string | The LLM ID to retrieve |
create_llm
Creates a new Cognigy.AI large language model configuration. LLMs power Knowledge AI, AI Agents, and generative features. Requires a connection with provider credentials. MUTATING: Set dryRun=false to create.
| Parameter | Type | Description |
|---|---|---|
connectionId * | string | The connection ID containing the provider credentials |
modelType * | string | The model type (e.g., 'gpt-4o', 'claude-3-opus-20240229', 'gemini-2.0-flash') |
name * | string | Name for the LLM configuration |
projectId * | string | The project ID to create the LLM in |
provider * | string | The LLM provider |
description | string | Description of the LLM's purpose |
dryRun | boolean | If true (default), validates without creating. Set to false to actually create. |
isDefault | boolean | Set as the default LLM for the project |
modelGroup | string | Model group: 'chat' for conversational, 'completion' for text generation, 'embedding' for embeddings |
providerConfig | object | Provider-specific configuration (e.g., resourceName, deploymentName for Azure) |
update_llm
Updates an existing Cognigy.AI large language model configuration. Use this to change name, description, credentials, or provider settings. MUTATING: Set dryRun=false to update.
| Parameter | Type | Description |
|---|---|---|
largeLanguageModelId * | string | The LLM ID to update |
connectionId | string | New connection ID for credentials |
description | string | New description |
dryRun | boolean | If true (default), validates without updating. Set to false to actually update. |
isDefault | boolean | Set as the default LLM |
name | string | New name for the LLM |
providerConfig | object | Provider-specific configuration updates |
delete_llm
Deletes a Cognigy.AI large language model configuration. WARNING: Features using this LLM will stop working. MUTATING: Set dryRun=false to delete.
| Parameter | Type | Description |
|---|---|---|
largeLanguageModelId * | string | The LLM ID to delete |
dryRun | boolean | If true (default), validates without deleting. Set to false to actually delete. |
clone_llm
Clones a Cognigy.AI large language model configuration. Creates a copy with the same settings that can be modified independently. MUTATING: Set dryRun=false to clone.
| Parameter | Type | Description |
|---|---|---|
largeLanguageModelId * | string | The LLM ID to clone |
dryRun | boolean | If true (default), validates without cloning. Set to false to actually clone. |
test_llm_connection
Tests the connection to a Cognigy.AI large language model provider. Validates that the credentials are correct and the provider is reachable. Use this to verify LLM setup before using it in flows.
| Parameter | Type | Description |
|---|---|---|
largeLanguageModelId * | string | The LLM ID to test |
list_nlu_connectors
Lists Cognigy.AI NLU connectors. NLU connectors enable integration with external NLU services like Dialogflow, LUIS, Watson, or custom solutions for intent recognition.
| Parameter | Type | Description |
|---|---|---|
filter | string | Filter NLU connectors by name |
limit | number | Maximum number of NLU connectors to return (default: 25, max: 100) |
projectId | string | Filter NLU connectors by project ID |
skip | number | Number of items to skip for pagination |
get_nlu_connector
Gets detailed configuration of a specific Cognigy.AI NLU connector. Returns type, settings, and connection details for external NLU service integration.
| Parameter | Type | Description |
|---|---|---|
nluConnectorId * | string | The NLU connector ID to retrieve |
create_nlu_connector
Creates a new Cognigy.AI NLU connector for external NLU service integration. Supports Dialogflow, LUIS, Watson, Alexa, Lex, and custom code connectors. MUTATING: Set dryRun=false to create.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name for the NLU connector |
projectId * | string | The project ID to create the NLU connector in |
type * | string | The NLU connector type |
dryRun | boolean | If true (default), validates without creating. Set to false to actually create. |
settings | object | Type-specific settings for the NLU connector |
update_nlu_connector
Updates an existing Cognigy.AI NLU connector. Use this to change name or update type-specific settings. MUTATING: Set dryRun=false to update.
| Parameter | Type | Description |
|---|---|---|
nluConnectorId * | string | The NLU connector ID to update |
dryRun | boolean | If true (default), validates without updating. Set to false to actually update. |
name | string | New name for the NLU connector |
settings | object | Type-specific settings to update |
delete_nlu_connector
Deletes a Cognigy.AI NLU connector. WARNING: Endpoints using this connector will lose NLU functionality. MUTATING: Set dryRun=false to delete.
| Parameter | Type | Description |
|---|---|---|
nluConnectorId * | string | The NLU connector ID to delete |
dryRun | boolean | If true (default), validates without deleting. Set to false to actually delete. |
list_knowledge_stores
Lists Cognigy.AI Knowledge AI stores. Knowledge stores are containers for RAG (Retrieval-Augmented Generation) content used by AI Agents to answer questions from your data.
| Parameter | Type | Description |
|---|---|---|
filter | string | Filter knowledge stores by name |
limit | number | Maximum number of stores to return (default: 25, max: 100) |
projectId | string | Filter knowledge stores by project ID |
skip | number | Number of items to skip for pagination |
get_knowledge_store
Gets detailed configuration of a specific Cognigy.AI knowledge store. Returns store settings, language, embedding model, and source counts.
| Parameter | Type | Description |
|---|---|---|
knowledgeStoreId * | string | The knowledge store ID to retrieve |
create_knowledge_store
Creates a new Cognigy.AI knowledge store for RAG content. Knowledge stores contain sources (documents) that AI Agents can search to answer questions. MUTATING: Set dryRun=false to create.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name for the knowledge store |
projectId * | string | The project ID to create the knowledge store in |
chunkOverlap | number | Overlap between chunks in characters |
chunkSize | number | Size of text chunks in characters |
description | string | Description of the knowledge store's purpose |
dryRun | boolean | If true (default), validates without creating. Set to false to actually create. |
embeddingModel | string | The embedding model to use for vectorization |
language | string | Primary language as a full locale code (e.g., 'en-US', 'de-DE'). Note: the project needs a configured Generative AI provider (LLM) for knowledge stores. |
update_knowledge_store
Updates an existing Cognigy.AI knowledge store. Use this to change name or description. MUTATING: Set dryRun=false to update.
| Parameter | Type | Description |
|---|---|---|
knowledgeStoreId * | string | The knowledge store ID to update |
description | string | New description |
dryRun | boolean | If true (default), validates without updating. Set to false to actually update. |
name | string | New name for the knowledge store |
delete_knowledge_store
Deletes a Cognigy.AI knowledge store and ALL its sources and chunks. WARNING: This is destructive and cannot be undone. AI Agents using this store will lose access. MUTATING: Set dryRun=false to delete.
| Parameter | Type | Description |
|---|---|---|
knowledgeStoreId * | string | The knowledge store ID to delete |
dryRun | boolean | If true (default), validates without deleting. Set to false to actually delete. |
list_knowledge_sources
Lists knowledge sources in a Cognigy.AI knowledge store. Sources are documents (PDFs, web pages, text files) that have been ingested and chunked for RAG retrieval.
| Parameter | Type | Description |
|---|---|---|
knowledgeStoreId * | string | The knowledge store ID to list sources from |
filter | string | Filter sources by name |
limit | number | Maximum number of sources to return (default: 25, max: 100) |
skip | number | Number of items to skip for pagination |
get_knowledge_source
Gets detailed information about a specific Cognigy.AI knowledge source. Returns source metadata, processing status, chunk count, and ingestion details.
| Parameter | Type | Description |
|---|---|---|
knowledgeStoreId * | string | The knowledge store ID containing the source |
sourceId * | string | The knowledge source ID to retrieve |
create_knowledge_source
Creates a new Cognigy.AI knowledge source for RAG content ingestion. Sources can be URLs, uploaded files, or manual text. Content is automatically chunked and embedded. MUTATING: Set dryRun=false to create.
| Parameter | Type | Description |
|---|---|---|
knowledgeStoreId * | string | The knowledge store ID to create the source in |
name * | string | Name for the knowledge source |
description | string | Description of the source content |
dryRun | boolean | If true (default), validates without creating. Set to false to actually create. |
metadata | object | Custom metadata to attach to all chunks from this source |
text | string | Text content to ingest (for type 'manual') |
type | string | Source type: 'manual' for text input, 'url' for web page |
url | string | URL to ingest (required if type is 'url') |
update_knowledge_source
Updates an existing Cognigy.AI knowledge source. Use this to change name or description. MUTATING: Set dryRun=false to update.
| Parameter | Type | Description |
|---|---|---|
knowledgeStoreId * | string | The knowledge store ID containing the source |
sourceId * | string | The knowledge source ID to update |
description | string | New description |
dryRun | boolean | If true (default), validates without updating. Set to false to actually update. |
name | string | New name for the source |
delete_knowledge_source
Deletes a Cognigy.AI knowledge source and all its chunks. WARNING: This is destructive. The document content will no longer be searchable. MUTATING: Set dryRun=false to delete.
| Parameter | Type | Description |
|---|---|---|
knowledgeStoreId * | string | The knowledge store ID containing the source |
sourceId * | string | The knowledge source ID to delete |
dryRun | boolean | If true (default), validates without deleting. Set to false to actually delete. |
list_knowledge_chunks
Lists knowledge chunks in a Cognigy.AI knowledge store. Chunks are the actual text segments used for RAG retrieval, created by splitting source documents.
| Parameter | Type | Description |
|---|---|---|
knowledgeStoreId * | string | The knowledge store ID to list chunks from |
filter | string | Filter chunks by text content |
limit | number | Maximum number of chunks to return (default: 25, max: 100) |
skip | number | Number of items to skip for pagination |
sourceId | string | Filter chunks by source ID |
get_knowledge_chunk
Gets the full content of a specific Cognigy.AI knowledge chunk. Returns the complete text, metadata, and source information. Use this to inspect what content is being used in RAG searches.
| Parameter | Type | Description |
|---|---|---|
chunkId * | string | The knowledge chunk ID to retrieve |
knowledgeStoreId * | string | The knowledge store ID |
sourceId * | string | The knowledge source ID containing the chunk |
create_knowledge_chunk
Creates a new Cognigy.AI knowledge chunk manually. Use this to add specific text segments that should be searchable via RAG. The chunk will be embedded automatically. MUTATING: Set dryRun=false to create.
| Parameter | Type | Description |
|---|---|---|
knowledgeStoreId * | string | The knowledge store ID to create the chunk in |
sourceId * | string | The source ID to associate the chunk with |
text * | string | The text content of the chunk |
dryRun | boolean | If true (default), validates without creating. Set to false to actually create. |
metadata | object | Custom metadata for the chunk |
title | string | Title for the chunk |
update_knowledge_chunk
Updates an existing Cognigy.AI knowledge chunk. If text is changed, the chunk will be re-embedded. MUTATING: Set dryRun=false to update.
| Parameter | Type | Description |
|---|---|---|
chunkId * | string | The knowledge chunk ID to update |
knowledgeStoreId * | string | The knowledge store ID |
sourceId * | string | The knowledge source ID containing the chunk |
dryRun | boolean | If true (default), validates without updating. Set to false to actually update. |
text | string | New text content (will be re-embedded) |
delete_knowledge_chunk
Deletes a Cognigy.AI knowledge chunk. The content will no longer be searchable via RAG. MUTATING: Set dryRun=false to delete.
| Parameter | Type | Description |
|---|---|---|
chunkId * | string | The knowledge chunk ID to delete |
knowledgeStoreId * | string | The knowledge store ID |
sourceId * | string | The knowledge source ID containing the chunk |
dryRun | boolean | If true (default), validates without deleting. Set to false to actually delete. |
list_knowledge_connectors
Lists Cognigy.AI knowledge connectors for automated content ingestion. Connectors can pull content from external sources like SharePoint, Confluence, or custom APIs.
| Parameter | Type | Description |
|---|---|---|
knowledgeStoreId * | string | The knowledge store ID to list connectors from |
filter | string | Filter connectors by name |
limit | number | Maximum number of connectors to return (default: 25, max: 100) |
skip | number | Number of items to skip for pagination |
get_knowledge_connector
Gets detailed configuration of a specific Cognigy.AI knowledge connector. Returns connector type, schedule, connection settings, and run status.
| Parameter | Type | Description |
|---|---|---|
connectorId * | string | The knowledge connector ID to retrieve |
knowledgeStoreId * | string | The knowledge store ID containing the connector |
create_knowledge_connector
Creates a new Cognigy.AI knowledge connector for automated content ingestion from external sources like SharePoint or Confluence. MUTATING: Set dryRun=false to create.
| Parameter | Type | Description |
|---|---|---|
extension * | string | Name of the extension that provides the knowledge connector (see list_extensions) |
knowledgeStoreId * | string | The knowledge store ID to create the connector in |
name * | string | Name for the connector |
type * | string | Connector type as defined by the extension |
version * | string | Version of the extension's connector to use |
config | object | Connector-specific configuration, including any connection reference the connector requires |
dryRun | boolean | If true (default), validates without creating. Set to false to actually create. |
schedule | object | Run schedule. Defaults to disabled (run manually with run_knowledge_connector). |
update_knowledge_connector
Updates an existing Cognigy.AI knowledge connector. Use this to change settings or name. MUTATING: Set dryRun=false to update.
| Parameter | Type | Description |
|---|---|---|
connectorId * | string | The knowledge connector ID to update |
knowledgeStoreId * | string | The knowledge store ID containing the connector |
dryRun | boolean | If true (default), validates without updating. Set to false to actually update. |
name | string | New name for the connector |
delete_knowledge_connector
Deletes a Cognigy.AI knowledge connector. Stops automated content ingestion from the external source. MUTATING: Set dryRun=false to delete.
| Parameter | Type | Description |
|---|---|---|
connectorId * | string | The knowledge connector ID to delete |
knowledgeStoreId * | string | The knowledge store ID containing the connector |
dryRun | boolean | If true (default), validates without deleting. Set to false to actually delete. |
run_knowledge_connector
Triggers a Cognigy.AI knowledge connector to run immediately. Pulls content from the external source and creates/updates knowledge chunks. MUTATING: Set dryRun=false to run.
| Parameter | Type | Description |
|---|---|---|
connectorId * | string | The knowledge connector ID to run |
knowledgeStoreId * | string | The knowledge store ID containing the connector |
dryRun | boolean | If true (default), validates without running. Set to false to actually run. |
list_functions
Lists Cognigy.AI Functions. Functions are custom code modules that can be triggered to run computations, integrations, or scheduled jobs outside of flow execution.
| Parameter | Type | Description |
|---|---|---|
filter | string | Filter functions by name |
limit | number | Maximum number of functions to return (default: 25, max: 100) |
projectId | string | Filter functions by project ID |
skip | number | Number of items to skip for pagination |
get_function
Gets detailed configuration of a specific Cognigy.AI Function. Returns the function code, settings, and runtime configuration.
| Parameter | Type | Description |
|---|---|---|
functionId * | string | The function ID to retrieve |
create_function
Creates a new Cognigy.AI Function. Functions are custom code modules for integrations, scheduled jobs, or computations. MUTATING: Set dryRun=false to create.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name for the function |
projectId * | string | The project ID to create the function in |
code | string | The function code (JavaScript/TypeScript). Runtime input arrives via trigger_function's parameters. |
dryRun | boolean | If true (default), validates without creating. Set to false to actually create. |
update_function
Updates an existing Cognigy.AI Function. Use this to change its name or code, or to enable/disable it. MUTATING: Set dryRun=false to update.
| Parameter | Type | Description |
|---|---|---|
functionId * | string | The function ID to update |
code | string | Updated function code |
dryRun | boolean | If true (default), validates without updating. Set to false to actually update. |
isDisabled | boolean | Disable (true) or enable (false) the function |
name | string | New name for the function |
delete_function
Deletes a Cognigy.AI Function. WARNING: This is destructive. Flows calling this function will fail. MUTATING: Set dryRun=false to delete.
| Parameter | Type | Description |
|---|---|---|
functionId * | string | The function ID to delete |
dryRun | boolean | If true (default), validates without deleting. Set to false to actually delete. |
list_function_instances
Lists running and completed instances of a Cognigy.AI Function. Shows execution history, status, and results.
| Parameter | Type | Description |
|---|---|---|
functionId * | string | The function ID to list instances for |
limit | number | Maximum number of instances to return (default: 25, max: 100) |
skip | number | Number of items to skip for pagination |
get_function_instance
Gets detailed information about a specific Cognigy.AI Function instance. Returns execution status, timing, input parameters, and output/error.
| Parameter | Type | Description |
|---|---|---|
functionId * | string | The function ID |
functionInstanceId * | string | The function instance ID to retrieve |
trigger_function
Triggers a Cognigy.AI Function to run immediately. Creates a new function instance that executes the function code. MUTATING: Set dryRun=false to trigger.
| Parameter | Type | Description |
|---|---|---|
functionId * | string | The function ID to trigger |
dryRun | boolean | If true (default), validates without triggering. Set to false to actually trigger. |
input | object | Input parameters for the function |
stop_function_instance
Stops a running Cognigy.AI Function instance. Use this to cancel a long-running or stuck function. MUTATING: Set dryRun=false to stop.
| Parameter | Type | Description |
|---|---|---|
functionId * | string | The function ID |
functionInstanceId * | string | The function instance ID to stop |
dryRun | boolean | If true (default), validates without stopping. Set to false to actually stop. |
list_extensions
Lists Cognigy.AI Extensions. Extensions are custom node packages that add new capabilities to flows (e.g., integrations, custom actions).
| Parameter | Type | Description |
|---|---|---|
filter | string | Filter extensions by name |
limit | number | Maximum number of extensions to return (default: 25, max: 100) |
projectId | string | Filter extensions by project ID |
skip | number | Number of items to skip for pagination |
get_extension
Gets detailed information about a specific Cognigy.AI Extension. Returns package info, available nodes, connections schemas, and settings.
| Parameter | Type | Description |
|---|---|---|
extensionId * | string | The extension ID to retrieve |
delete_extension
Deletes a Cognigy.AI Extension. WARNING: Flows using nodes from this extension will break. MUTATING: Set dryRun=false to delete.
| Parameter | Type | Description |
|---|---|---|
extensionId * | string | The extension ID to delete |
dryRun | boolean | If true (default), validates without deleting. Set to false to actually delete. |
update_extension
Updates Cognigy.AI Extension settings like trusted code flag. Use this to enable/disable full Node.js API access. MUTATING: Set dryRun=false to update.
| Parameter | Type | Description |
|---|---|---|
extensionId * | string | The extension ID to update |
dryRun | boolean | If true (default), validates without updating. Set to false to actually update. |
trustedCode | boolean | Enable trusted code execution (allows full Node.js API access) |
upload_extension
Uploads a new Cognigy.AI Extension from a URL. The extension package must be a .tar.gz file. This is an async operation that polls until complete. MUTATING: Set dryRun=false to upload.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | The project ID to upload the extension to |
url * | string | URL to the extension package (.tar.gz) |
dryRun | boolean | If true (default), validates without uploading. Set to false to actually upload. |
update_extension_package
Updates a Cognigy.AI Extension with a new package version from a URL. Use this to upgrade an extension to a new version. MUTATING: Set dryRun=false to update.
| Parameter | Type | Description |
|---|---|---|
extensionId * | string | The extension ID to update |
url * | string | URL to the new extension package (.tar.gz) |
dryRun | boolean | If true (default), validates without updating. Set to false to actually update. |
list_contact_profiles
Lists Cognigy.AI contact profiles. Contact profiles store user data across sessions (name, preferences, conversation history metadata).
| Parameter | Type | Description |
|---|---|---|
filter | string | Filter profiles by contact ID or other fields |
limit | number | Maximum number of profiles to return (default: 25, max: 100) |
projectId | string | Filter contact profiles by project ID |
skip | number | Number of items to skip for pagination |
get_contact_profile
Gets detailed information about a specific Cognigy.AI contact profile. Returns stored user data, goals, and profile metadata.
| Parameter | Type | Description |
|---|---|---|
profileId * | string | The contact profile ID to retrieve |
create_contact_profile
Creates a new Cognigy.AI contact profile. Contact profiles persist user data across sessions for personalization. MUTATING: Set dryRun=false to create.
| Parameter | Type | Description |
|---|---|---|
contactId * | string | The unique contact identifier for this profile |
projectId * | string | The project ID to create the profile in |
acceptedGDPR | boolean | Whether the user has accepted GDPR consent |
dryRun | boolean | If true (default), validates without creating. Set to false to actually create. |
profile | object | Profile data to store (custom fields) |
update_contact_profile
Updates an existing Cognigy.AI contact profile. Use this to modify stored user data or GDPR consent. MUTATING: Set dryRun=false to update.
| Parameter | Type | Description |
|---|---|---|
profileId * | string | The contact profile ID to update |
acceptedGDPR | boolean | Update GDPR consent status |
dryRun | boolean | If true (default), validates without updating. Set to false to actually update. |
profile | object | Profile data to update (merges with existing) |
delete_contact_profile
Deletes a Cognigy.AI contact profile. WARNING: This permanently removes all stored user data for this profile. MUTATING: Set dryRun=false to delete.
| Parameter | Type | Description |
|---|---|---|
profileId * | string | The contact profile ID to delete |
dryRun | boolean | If true (default), validates without deleting. Set to false to actually delete. |
remove_contact_id
Removes a contact ID from a Cognigy.AI contact profile. Use this when a user identifier should no longer be associated with a profile. MUTATING: Set dryRun=false to remove.
| Parameter | Type | Description |
|---|---|---|
contactId * | string | The contact ID to remove from the profile |
profileId * | string | The contact profile ID to modify |
dryRun | boolean | If true (default), validates without removing. Set to false to actually remove. |
merge_contact_profiles
Merges the Cognigy.AI contact profile of a given contact ID into a target profile, combining their data and contact IDs. Use when the same user has multiple profiles. MUTATING: Set dryRun=false to merge.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | The project ID the profiles belong to |
sourceContactId * | string | A contact ID whose profile will be merged into the target (see contactIds in get_contact_profile / export_contact_profile) |
targetProfileId * | string | The profile ID that will receive the merged data |
dryRun | boolean | If true (default), validates without merging. Set to false to actually merge. |
unmerge_contact_profiles
Splits a merged Cognigy.AI contact profile back into separate profiles. Use when profiles were incorrectly merged. MUTATING: Set dryRun=false to unmerge.
| Parameter | Type | Description |
|---|---|---|
contactId * | string | The contact ID to extract into a separate profile |
profileId * | string | The merged profile ID to split |
dryRun | boolean | If true (default), validates without unmerging. Set to false to actually unmerge. |
export_contact_profile
Exports all data for a Cognigy.AI contact profile. Use this for GDPR data access requests. Returns all stored profile data in a portable format.
| Parameter | Type | Description |
|---|---|---|
profileId * | string | The contact profile ID to export |
get_contact_profile_schema
Gets the contact profile schema for a Cognigy.AI project. The schema defines what custom fields can be stored in contact profiles.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | The project ID to get the profile schema for |
set_contact_profile_schema
Adds or updates custom fields in the Cognigy.AI contact profile schema of a project. Built-in fields (firstname, email, ...) always exist; existing custom fields not listed are kept. MUTATING: Set dryRun=false to update.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | The project ID to set the profile schema for |
schema * | array | Custom fields to add or update. Existing custom fields with the same internal name are replaced; others are kept. |
dryRun | boolean | If true (default), validates without updating. Set to false to actually update. |
get_conversation_metrics
Gets Cognigy.AI conversation counter metrics for one month. Returns aggregated conversation counts for a project or the entire organization.
| Parameter | Type | Description |
|---|---|---|
month | integer | Month to report on (1-12). Defaults to the current month. |
projectId | string | Project ID for project-level metrics. Omit for organization-wide metrics. |
year | integer | Year to report on (e.g., 2026). Defaults to the current year. |
get_call_metrics
Gets Cognigy.AI call counter metrics (Voice Gateway) for one month. Returns aggregated call counts for a project or the entire organization.
| Parameter | Type | Description |
|---|---|---|
month | integer | Month to report on (1-12). Defaults to the current month. |
projectId | string | Project ID for project-level metrics. Omit for organization-wide metrics. |
year | integer | Year to report on (e.g., 2026). Defaults to the current year. |
get_knowledge_query_metrics
Gets Cognigy.AI Knowledge AI query counter metrics for one month. Returns aggregated knowledge query counts for a project or the entire organization.
| Parameter | Type | Description |
|---|---|---|
month | integer | Month to report on (1-12). Defaults to the current month. |
projectId | string | Project ID for project-level metrics. Omit for organization-wide metrics. |
year | integer | Year to report on (e.g., 2026). Defaults to the current year. |
update_analytics_record
Updates Cognigy.AI analytics records for a session. Use this to add custom tracking properties to conversation analytics. MUTATING: Set dryRun=false to update.
| Parameter | Type | Description |
|---|---|---|
contactId * | string | The contact (user) ID of the conversation |
projectId * | string | The project ID |
properties * | object | Analytics fields to set. Editable fields include rating, ratingComment, custom1..custom10, intent, intentScore, slots, state, mode, flowName, localeName, inHandoverRequest, inHandoverConversation, han… |
sessionId * | string | The session ID to update analytics for |
dryRun | boolean | If true (default), validates without updating. Set to false to actually update. |
inputId | string | Restrict the update to a single input (message) of the session |
list_audit_events
Lists Cognigy.AI audit events. Audit events track all changes made to resources (flows, intents, endpoints, etc.) by users. Useful for compliance and debugging.
| Parameter | Type | Description |
|---|---|---|
eventType | string | Filter by event type (e.g., 'create', 'update', 'delete') |
limit | number | Maximum number of events to return (default: 25, max: 100) |
projectId | string | Filter audit events by project ID |
skip | number | Number of items to skip for pagination |
user | string | Filter by the user who performed the action (as shown in the event's 'user' field) |
get_audit_event
Gets detailed information about a specific Cognigy.AI audit event. Returns the full change details including before/after values.
| Parameter | Type | Description |
|---|---|---|
auditEventId * | string | The audit event ID to retrieve |
list_handover_providers
Lists Cognigy.AI handover providers. Handover providers enable live agent escalation (e.g., Salesforce, Genesys, RingCentral).
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of providers to return (default: 25, max: 100) |
projectId | string | Filter handover providers by project ID |
skip | number | Number of items to skip for pagination |
get_handover_provider
Gets detailed information about a specific Cognigy.AI handover provider. Returns provider type, configuration, and connection settings.
| Parameter | Type | Description |
|---|---|---|
providerId * | string | The handover provider ID to retrieve |
create_handover_provider
Creates a new Cognigy.AI handover provider for live agent escalation, based on one of the services from list_handover_services. The provider starts with the service's default properties; change them with update_handover_provider. MUTATING: Set dryRun=false to create.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name for the handover provider |
projectId * | string | The project ID to create the handover provider in |
type * | string | Handover service name as returned by list_handover_services (e.g., 'liveAgent', 'salesforce', 'genesysCloud', 'chatwoot') |
dryRun | boolean | If true (default), validates without creating. Set to false to actually create. |
update_handover_provider
Updates an existing Cognigy.AI handover provider. Use this to rename it or change its properties. MUTATING: Set dryRun=false to update.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | The project ID the handover provider belongs to |
providerId * | string | The handover provider ID to update |
dryRun | boolean | If true (default), validates without updating. Set to false to actually update. |
name | string | New name for the provider |
properties | object | Provider properties to set, as key/value pairs (see get_handover_provider for the current keys). Keys not listed are kept. |
delete_handover_provider
Deletes a Cognigy.AI handover provider. WARNING: Endpoints using this provider will no longer be able to escalate to live agents. MUTATING: Set dryRun=false to delete.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | The project ID the handover provider belongs to |
providerId * | string | The handover provider ID to delete |
dryRun | boolean | If true (default), validates without deleting. Set to false to actually delete. |
list_handover_services
Lists available Cognigy.AI handover services. Handover services are the supported integrations for live agent escalation.
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of services to return (default: 25, max: 100) |
skip | number | Number of items to skip for pagination |
get_handover_service
Gets detailed information about a specific Cognigy.AI handover service (accepts the service ID or name). Returns its version, service URL, and properties.
| Parameter | Type | Description |
|---|---|---|
serviceId * | string | The handover service ID to retrieve |
search_resources
Searches across all Cognigy.AI resources in the organization. Finds flows, intents, endpoints, functions, playbooks, and more by name or content. Powerful for discovering resources across projects.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query string |
limit | number | Maximum number of results to return (default: 25, max: 100) |
projectId | string | Filter results to a specific project |
resourceTypes | array | Filter by resource types (defaults to all types) |
skip | number | Number of items to skip for pagination |