trace_attach

[external]

Collects a bounded runtime.nettrace artifact from an already-running local .NET process.

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
processIdnumberYesProcess id returned by trace_list_processes or another trusted local source.
durationMsnumberNoMilliseconds to collect EventPipe trace data. Clamped to 1000..120000. Defaults to 10000.

Examples

Collect a short nettrace from a process

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "trace_attach",
    "arguments": {
      "processId": 12345,
      "durationMs": 10000
    }
  }
}

Response Notes

Returns a stored session with the collected runtime.nettrace artifact and extracted evidence.

↑/↓ NavigateEnter OpenSpace Expand