Trimming tool results

Your agent asks for the error logs and gets forty thousand lines back. The one line that matters is in there somewhere, and so is everything else, now on every step that follows. Tool output is usually the biggest thing in an agent's context, so it's the first thing to design.

In this lesson you'll learn to

Create a free account to open this lesson

It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.