ToolLoopTransformer

Transforms message history or tool results during tool loop execution. Use for compression, summarization, windowing.

Inheritors

Functions

Link copied to clipboard

Transform history after iteration completes. Return modified list.

Link copied to clipboard

Transform LLM response before adding to history. Return modified message.

Link copied to clipboard

Transform tool result before adding to history. Return modified string.

Link copied to clipboard

Transform history before sending to LLM. Return modified list.