logs_tail_context
Fetch recent log lines from all apps that contain a specific trace ID, so you can correlate logs with a distributed trace.
Instructions
Get recent logs correlated with a specific trace ID. Searches across all apps for log lines containing the trace ID.
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": {
"trace_id": "<trace_id>"
},
"name": "logs_tail_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max log lines | |
| target | No | Named backend instance to query (configured: default). Defaults to the primary. | |
| trace_id | Yes | Trace ID to search for in log lines |