{
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "generate_custom_deck",
        "description": "Generate a customized slide deck based on customer discovery insights. Call this ONCE after 1-2 minutes of discovery (or immediately if prospect asks to see the demo). This creates a personalized presentation showing how BuzzTrail's AI avatars solve the prospect's specific challenges.",
      "parameters": {
        "type": "object",
        "properties": {
          "company_name": {
            "type": "string",
            "description": "The prospect's company name (e.g., 'Acme Corp')"
          },
          "pain_points": {
            "type": "array",
            "description": "Array of specific challenges the prospect mentioned (e.g., ['can\\'t scale demos', 'missing leads', 'slow response times', 'sales team burnout', 'inconsistent demos'])",
            "items": {
              "type": "string"
            },
            "minItems": 1
          },
          "interested_features": {
            "type": "array",
            "description": "Array of BuzzTrail use cases the prospect expressed interest in (e.g., ['sales demos', 'customer onboarding', 'support automation', '24/7 availability'])",
            "items": {
              "type": "string"
            },
            "minItems": 1
          },
          "budget_range": {
            "type": "string",
            "description": "The prospect's stated budget range if mentioned (e.g., '$2k/month', 'flexible', 'enterprise budget'). Use 'not specified' if not discussed.",
            "default": "not specified"
          },
          "team_size": {
            "type": "string",
            "description": "Size of the prospect's sales/CS team if mentioned (e.g., '5-10', '20-50', 'enterprise'). Use 'not specified' if not discussed.",
            "default": "not specified"
          },
          "industry": {
            "type": "string",
            "description": "The prospect's industry vertical if identified (e.g., 'B2B SaaS', 'fintech', 'healthcare', 'e-commerce'). Use 'B2B' if not specified.",
            "default": "B2B"
          }
        },
        "required": [
          "company_name",
          "pain_points",
          "interested_features"
        ]
      }
      }
    },
    {
      "type": "function",
      "function": {
        "name": "control_slide",
        "description": "Navigate through the presentation slides. Use this to advance to the next slide, go back to a previous slide, or jump to a specific slide number. Call this during the presentation phase to control the slide deck in sync with your narration.",
        "parameters": {
        "type": "object",
        "properties": {
          "direction": {
            "type": "string",
            "enum": ["next", "previous"],
            "description": "Direction to navigate: 'next' to advance forward, 'previous' to go back one slide. Use this for sequential navigation."
          },
          "slide_number": {
            "type": "integer",
            "description": "Specific slide number to jump to (1-indexed). Use this to jump directly to a particular slide (e.g., slide 5 for pricing, slide 3 for features). Omit if using direction-based navigation.",
            "minimum": 1
          }
        },
        "oneOf": [
          {
            "required": ["direction"]
          },
          {
            "required": ["slide_number"]
          }
        ]
      }
      }
    }
  ]
}
