get_latest_log_entries
Retrieve recent execution log entries from a Cognigy.AI project to debug flows, view errors, or monitor agent behavior.
Instructions
Gets the latest execution log entries from a Cognigy.AI project. Use this for debugging flow execution, viewing errors, or monitoring agent behavior.
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": "get_latest_log_entries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by log level(s): debug, info, warn, error | |
| limit | No | Maximum number of log entries to return (1-100, default 25) | |
| flowName | No | Filter logs by flow name | |
| projectId | Yes | The project ID to retrieve logs from |