Connecting Tool Calls
After Connecting Agents to Wayfound, you can also connect tool call information. This allows Wayfound to track tool call success rates in Performance reports. You can do so by adding a "tool_call" event to "messages":
{
"timestamp": "2025-05-07T10:00:03Z",
"event_type": "tool_call",
"label": "Tool Call: FlightService.SearchFlights",
"description": "Searching for flights from SFO to JFK",
"attributes": {
"success": true,
"tool_name": "FlightService",
"latency_ms": 120,
"tool_input": {
"to": "SFO",
"from": "JFK",
"dates": [
"2025-06-10",
"2025-06-15"
]
},
"tool_output": [
{
"price": 320,
"flight_id": "FS123"
},
{
"price": 290,
"flight_id": "FS456"
}
]
}
}
This will add the following information to the agent's Wayfound session transcript:

Clicking the arrow will reveal the details of the tool call event:

Note that tool calls should be logged regardless of success or failure for accurate performance tracking.
Last updated