Lava Filters - AgentToolInstructions
Category:AI Agent
Description:Adds additional instructions that will be given to the language model as part of the response. When providing a structured return type this will let you give hints to the agent about how it should format or otherwise use the result.
Input:
Lava: {% assign data = '' | AddToDictionary:'IdKey','k28Km21ls8' %}
{% assign data = data | AddToDictionary:'Title','Decker Small Group' %}
{{ 'Success' | AgentToolResult:message
| AgentToolInstructions:'Do not include the IdKey value when writing the response.' }}
Output: