A tool result is the output returned after an agent selects and calls an external tool. API results may be verbose JSON, so parsing can reduce noise before the language model uses them. section 9.1.4
Practical handling options include:
- Apply custom logic to retain only fields relevant to the task. section 9.1.4
- Use a dynamic algorithm to identify the most helpful fields for the current situation. section 9.1.4
Verbose API response
An API may return a large JSON response. Trimming it to the relevant information gives the language model less noise to process. section 9.1.4
Shows the agent’s process for selecting, calling, and receiving results from a tool. section 9.1.4

