% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/postprocess__token_stats.R
\name{.build_token_stats}
\alias{.build_token_stats}
\title{Build Token Stats Diagnostic Structure}
\usage{
.build_token_stats(tokens_used, input_tokens, output_tokens, token_trace)
}
\arguments{
\item{tokens_used}{Total tokens (integer)}

\item{input_tokens}{Input/prompt tokens (integer)}

\item{output_tokens}{Output/completion tokens (integer)}

\item{token_trace}{List of per-node trace entries}
}
\value{
A list with tokens_used, input_tokens, output_tokens, fold_tokens,
  and token_trace
}
\description{
Creates a standardized token usage breakdown from agent response fields.
}
\keyword{internal}
