Get Logs
get-logsQuery structured logs from your MCP tool executions. Filter by session, severity level, event type, and time range. Useful for debugging and monitoring tool usage.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get-logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | No | Filter by event name (e.g., "debate_completed") | |
| level | No | Filter by log level | |
| limit | No | Max results | |
| offset | No | Pagination offset | |
| end_time | No | End timestamp (ms) for time range filter | |
| session_id | No | Filter logs for a specific session | |
| start_time | No | Start timestamp (ms) for time range filter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logs | Yes | Matching log entries |