stop_function_instance
Stop a running Cognigy.AI Function instance to cancel long-running or stuck functions. Set dryRun to false to execute the stop.
Instructions
Stops a running Cognigy.AI Function instance. Use this to cancel a long-running or stuck function. MUTATING: Set dryRun=false to stop.
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>",
"functionInstanceId": "<functionInstanceId>"
},
"name": "stop_function_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true (default), validates without stopping. Set to false to actually stop. | |
| functionId | Yes | The function ID | |
| functionInstanceId | Yes | The function instance ID to stop |