A context variable stays empty
The agent asks again for something the customer already gave, or a tool already returned. Open the conversation: its side panel lists the context variables it holds.
The path starts with $.
Section titled “The path starts with $.”How to tell: a variable that comes from a tool has a path such as $.booking_ref.
Fix: write the path without $.: booking_ref, booking.ref, or items[0].id for the first item.
The field isn’t in what the agent sees
Section titled “The field isn’t in what the agent sees”How to tell: the path is right for your system’s full response, but the tool’s manifest doesn’t keep
that field.
Fix: a path reads the result the agent sees, not the full response. Add the field to the tool’s
projection.
The tool name is wrong
Section titled “The tool name is wrong”How to tell: the variable’s Tool doesn’t exactly match a tool in Agent → Tools & APIs.
Fix: use the tool’s exact name, such as kaya_get_order.
It lasts for one turn
Section titled “It lasts for one turn”How to tell: Lasts for is “one turn”. The value is forgotten as soon as the reply is sent. Fix: choose “the conversation” for anything the customer will refer back to.
The value doesn’t match the pattern
Section titled “The value doesn’t match the pattern”How to tell: a variable from the conversation has a Pattern, and what the customer typed doesn’t match it. Fix: loosen the pattern, or make the description say what the value looks like. A pattern only applies to text variables.
The conversation ended
Section titled “The conversation ended”How to tell: the customer came back after the idle timeout, and a new conversation started. Fix: expected. Variables last one conversation at most. See WhatsApp.
Still stuck? Write to support@tendus.ai with the link to the conversation.