trace_import_otlp

[external]

Imports bounded OpenTelemetry JSON or NDJSON evidence from a workspace file into a GliderTrace session.

Why this tool exists

Important runtime evidence often already exists in files or in live local .NET processes.

How it helps the agent

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

Parameters

NameTypeRequiredDescription
sourcePathstringYesPath to an OTLP JSON or newline-delimited JSON file under the workspace or artifact root.
sourceFormatstringNoOptional source format: 'otlp-json' or 'otlp-ndjson'. Defaults from file extension/content.
captureSourceArtifactbooleanNoStore the source payload as a sensitive local artifact reference. Defaults to true.
maxEventsnumberNoMaximum normalized evidence events to import. Clamped to 1..5000. Defaults to 500.

Examples

Import an OTLP NDJSON file

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "trace_import_otlp",
    "arguments": {
      "sourcePath": "artifacts/otlp.ndjson"
    }
  }
}

Response Notes

Returns an imported session with normalized evidence counts and optional source artifact references.

↑/↓ NavigateEnter OpenSpace Expand