komrad

list_recent_traces

List the newest traces in the server log, oldest first.

read-onlyidempotentMCP toolLog

Calling it#

curl -X POST http://127.0.0.1:8787/komrad.log.v1.LogService/ListRecentTraces \
  -H 'Content-Type: application/json' \
  -d '{}'

Request#

ListRecentTracesRequest#

FieldTypeDescription
limitint32

between 0 and 200

How many of the newest traces to list. Zero lists twenty.

Response#

ListRecentTracesResponse#

FieldTypeDescription
tracesTraceSummary[]

The newest traces in the log, oldest first.

Types#

TraceSummary#

TraceSummary is one trace in the server's log.

FieldTypeDescription
trace_idstring

The trace's id.

started_attimestamp

When the trace's first line was written.

whatstring

The RPC method or loop the trace belongs to. Empty when no line names one.

linesint32

How many lines the log has under the trace.