[external]
Imports bounded OpenTelemetry JSON or NDJSON evidence from a workspace file into a GliderTrace session.
Important runtime evidence often already exists in files or in live local .NET processes.
The model can import artifacts or attach to a process while keeping evidence bounded and tied to a stored session.
Try it locally in the GliderTrace playground
| Name | Type | Required | Description |
|---|---|---|---|
| sourcePath | string | Yes | Path to an OTLP JSON or newline-delimited JSON file under the workspace or artifact root. |
| sourceFormat | string | No | Optional source format: 'otlp-json' or 'otlp-ndjson'. Defaults from file extension/content. |
| captureSourceArtifact | boolean | No | Store the source payload as a sensitive local artifact reference. Defaults to true. |
| maxEvents | number | No | Maximum normalized evidence events to import. Clamped to 1..5000. Defaults to 500. |
Import an OTLP NDJSON file
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "trace_import_otlp",
"arguments": {
"sourcePath": "artifacts/otlp.ndjson"
}
}
}Returns an imported session with normalized evidence counts and optional source artifact references.