query_logs
Search and filter logs for a project. Supports filtering by level, source, time range, and text search.
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": "query_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End time (ISO 8601 or YYYY-MM-DD) | |
| url | No | Filter by URL or request path (e.g., '/api/checkout', '/auth/callback') | |
| from | No | Start time (ISO 8601 or YYYY-MM-DD) | |
| level | No | Log level: TRACE, DEBUG, INFO, WARN, ERROR, FATAL | |
| limit | No | Max results (1-1000, default 100) | |
| query | No | Search. Free text matches the message; key:value matches a metadata field (e.g. status:500 user_id:42 http.route:/api/pay); -key:value negates; quote values with spaces (key:"a b"). | |
| source | No | Source tag (e.g., 'worker.auth') |