[analysis]
Exports a compact GliderTrace agent summary or zip artifact reference for a session.
Stored runtime sessions need query, comparison, and export tools so agents can work from bounded evidence.
The model can inspect, compare, and package evidence without rereading raw logs or artifacts.
Try it locally in the GliderTrace playground
| Name | Type | Required | Description |
|---|---|---|---|
| sessionId | string | Yes | Trace session id, for example trc_20260507_123044_ab12cd34. |
| format | string | No | Export 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. |
| includeRawArtifacts | boolean | No | Include sensitive raw artifacts in zip exports. Defaults to false. |
Export an agent summary
{
"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
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "trace_export",
"arguments": {
"sessionId": "trc_20260507_123044_ab12cd34",
"format": "sarif"
}
}
}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.