trace_export

[analysis]

Exports a compact GliderTrace agent summary or zip artifact reference for a session.

Why this tool exists

Stored runtime sessions need query, comparison, and export tools so agents can work from bounded evidence.

How it helps the agent

The model can inspect, compare, and package evidence without rereading raw logs or artifacts.

Try it locally in the GliderTrace playground

Parameters

NameTypeRequiredDescription
sessionIdstringYesTrace session id, for example trc_20260507_123044_ab12cd34.
formatstringNoExport format: 'agent-summary-json', 'agent-summary-md', 'ci-summary-json', 'ci-summary-md', 'sarif', or 'zip'. The sarif format writes a SARIF 2.1.0 file of build and test findings for code scanning. On a pipeline session it writes one run per stage.
includeRawArtifactsbooleanNoInclude sensitive raw artifacts in zip exports. Defaults to false.

Examples

Export an agent summary

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "trace_export",
    "arguments": {
      "sessionId": "trc_20260507_123044_ab12cd34",
      "format": "agent-summary-md"
    }
  }
}

Export SARIF findings for code scanning

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "trace_export",
    "arguments": {
      "sessionId": "trc_20260507_123044_ab12cd34",
      "format": "sarif"
    }
  }
}

Response Notes

Returns summary content or a local artifact bundle reference, depending on export format. It carries a coverage block. The exported summary payload echoes the block when evidence was dropped or bounded at capture.

↑/↓ NavigateEnter OpenSpace Expand