search_logs
Search ClickVisual logs by numeric table ID and time range, with optional SQL WHERE filters like logtext LIKE '%error%', to find specific entries.
Instructions
Search ClickVisual logs. Requires a numeric table_id and a time range. The query parameter uses SQL WHERE clause syntax, e.g. logtext LIKE '%error%'.
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": {
"table_id": "<table_id>",
"st": "<st>",
"et": "<et>"
},
"name": "search_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| et | Yes | End time (same formats as st) | |
| st | Yes | Start time (unix seconds, ISO 8601, or 'YYYY-MM-DD HH:MM:SS') | |
| page | No | Page number | |
| query | No | SQL WHERE condition, e.g. logtext LIKE '%error%' or host = 'app13' | |
| table_id | Yes | Numeric table ID | |
| page_size | No | Page size | |
| is_query_count | No | 1=also count total hits (slower), 0=skip counting (faster) |