Wayfound
  • Welcome to Wayfound
  • Key Concepts
  • Getting Started
  • Manager
    • Performance
    • Overview
    • Alignment
    • Meetings
    • Report Sharing
  • User Feedback
  • Agent Management Best Practices
  • Agents
    • The Agents Page
    • Definition
    • Guidelines
    • Connecting Agents
    • Connecting Tool Calls
    • Connecting User Feedback
    • Connecting other Events
    • OpenTelemetry Event Data
  • Sessions
    • Recordings
    • Suggestions
    • Link Clicks
  • Visitors
  • Settings
    • Organizations
    • User Management
    • Integrations
      • HubSpot Integration
      • Salesforce Integration
    • Actions
  • API
Powered by GitBook
On this page
  1. Agents

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.

PreviousConnecting AgentsNextConnecting User Feedback

Last updated 29 days ago