utils/constants/tool_limits library

Constants

bytesPerToken → const int
Bytes per token estimate for byte-to-token conversion.
defaultMaxResultSizeChars → const int
Default maximum size in characters for tool results before disk persistence.
maxToolResultBytes → const int
Maximum size for tool results in bytes (derived from token limit).
maxToolResultsPerMessageChars → const int
Default maximum aggregate size in characters for tool_result blocks within a single user message (one turn's batch of parallel tool results).
maxToolResultTokens → const int
Maximum size for tool results in tokens.
toolSummaryMaxLength → const int
Maximum character length for tool summary strings in compact views.