obi_docker_logs
Fetch and filter OBI Docker container logs by level, time range, and line count, with optional real-time following to diagnose and monitor instrumentation issues.
Instructions
Fetch logs from the OBI Docker container. Supports filtering by log level, time range, and number of lines. Can optionally follow logs in real-time.
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": "obi_docker_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Filter logs by level | |
| lines | No | Number of log lines to retrieve from the end | |
| since | No | Show logs since timestamp (e.g., "10m", "1h", "2d") | |
| follow | No | Follow log output in real-time (stream mode) |