[external]
Imports existing workspace or artifact-root TRX, log, counters, nettrace, dump, or GC dump files 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 |
|---|---|---|---|
| sourcePaths | json | Yes | Artifact file paths under the workspace root or artifact root. |
| sourceKind | string | No | Optional source kind: 'auto', 'trx', 'log', 'stdout', 'stderr', 'counters', 'nettrace', 'dump', or 'gcdump'. Defaults to auto. |
| captureSourceArtifacts | boolean | No | Copy source files into the new session as sensitive artifact references. Defaults to true. |
| acknowledgeSensitive | boolean | No | Must be true because this operation may read or store sensitive runtime artifacts. |
| maxEvents | number | No | Maximum normalized evidence events to import. Clamped to 1..5000. Defaults to 1000. |
Import TRX evidence
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "trace_import_artifacts",
"arguments": {
"sourcePaths": [
"TestResults/results.trx"
],
"sourceKind": "trx"
}
}
}Returns an imported session with artifact references, parsed evidence counts, warnings, and failure summaries.