search_by_trace
Find all logs associated with a specific request or transaction by searching with an OpenTelemetry trace ID in OpenSearch environments.
Instructions
Search logs by OpenTelemetry trace ID to see all logs related to a specific request/transaction.
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": {
"environment": "<environment>",
"traceId": "<traceId>"
},
"name": "search_by_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environment | Yes | Environment to search: 'dev'/'prod' (iOS) or 'android-dev'/'android-prod' (Android) | |
| traceId | Yes | The OpenTelemetry trace ID to search for | |
| size | No | Maximum number of results to return (default: 100) |