create_package
Create a package bundling flows, endpoints, and other resources from a Cognigy.AI project for transfer between projects. Set dryRun=false to execute.
Instructions
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"name": "<name>",
"resourceIds": "<resourceIds>"
},
"name": "create_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the package | |
| dryRun | No | If true (default), validates without creating. Set to false to actually create. | |
| projectId | Yes | The project ID to create the package in | |
| timeoutMs | No | Maximum time to wait for package creation (5-600 seconds, default 120) | |
| description | No | Optional description of the package | |
| resourceIds | Yes | Array of resource IDs to include in the package (flows, endpoints, etc.) | |
| pollIntervalMs | No | How often to check task status (1-10 seconds, default 3) |