merge_package
Imports selected resources from a package into a Cognigy.AI project, mapping package locales to project locales. Validates with dry-run by default; set dryRun=false to perform the merge.
Instructions
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true (default), validates without merging. Set to false to actually merge. WARNING: This modifies the target project! | |
| packageId | Yes | The package ID to merge | |
| timeoutMs | No | Maximum time to wait for merge (5-600 seconds, default 180) | |
| strategies | No | Optional conflict resolution strategies per resource type | |
| resourceIds | Yes | Array of resource IDs from the package to import | |
| localeMapping | Yes | Mapping of package locales to project locales | |
| pollIntervalMs | No | How often to check task status (1-10 seconds, default 3) |