log_tool
Query and filter logs by tool name, status, duration, and time range with pagination support for efficient log analysis and troubleshooting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endTime | No | End time (ISO8601) | |
| maxDuration | No | Maximum duration (ms) | |
| minDuration | No | Minimum duration (ms) | |
| page | Yes | Page number (>= 1) | |
| pageSize | Yes | Logs per page (1-100) | |
| startTime | No | Start time (ISO8601) | |
| status | No | Log status (success or error) | |
| toolName | No | Regex to match tool name |
Input Schema (JSON Schema)
{
"description": "Query logs with filtering and pagination",
"name": "log_tool",
"properties": {
"endTime": {
"description": "End time (ISO8601)",
"type": "string"
},
"maxDuration": {
"description": "Maximum duration (ms)",
"type": "number"
},
"minDuration": {
"description": "Minimum duration (ms)",
"type": "number"
},
"page": {
"default": 1,
"description": "Page number (>= 1)",
"minimum": 1,
"type": "number"
},
"pageSize": {
"default": 10,
"description": "Logs per page (1-100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"startTime": {
"description": "Start time (ISO8601)",
"type": "string"
},
"status": {
"description": "Log status (success or error)",
"enum": [
"success",
"error"
],
"type": "string"
},
"toolName": {
"description": "Regex to match tool name",
"type": "string"
}
},
"required": [
"pageSize",
"page"
],
"type": "object"
}