get-trace-by-id
Retrieve a specific trace by its ID to analyze or debug workflows in the Opik MCP Server. Supports optional workspace customization for targeted trace fetching.
Instructions
Get a single trace by 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": {
"traceId": "<traceId>"
},
"name": "get-trace-by-id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| traceId | Yes | ID of the trace to fetch | |
| workspaceName | No | Workspace name to use instead of the default |