reset_context
Clears all stored state for a Cognigy.AI session to start a fresh conversation or remove user data during testing.
Instructions
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.
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": {
"sessionId": "<sessionId>",
"userId": "<userId>",
"flowReferenceId": "<flowReferenceId>",
"entrypoint": "<entrypoint>"
},
"name": "reset_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | The user ID for the session | |
| sessionId | Yes | The session ID to reset context for | |
| entrypoint | Yes | The entrypoint (project or snapshot ID) | |
| flowReferenceId | Yes | The flow reference ID |