trigger_function
Run a Cognigy.AI function instantly by creating a new function instance. Validate with dryRun before triggering.
Instructions
Triggers a Cognigy.AI Function to run immediately. Creates a new function instance that executes the function code. MUTATING: Set dryRun=false to trigger.
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": {
"functionId": "<functionId>"
},
"name": "trigger_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Input parameters for the function | |
| dryRun | No | If true (default), validates without triggering. Set to false to actually trigger. | |
| functionId | Yes | The function ID to trigger |