🔍 AWS Lambda Function Discovery

Burki Voice AI provides automatic Lambda function discovery to streamline the integration of your existing serverless functions. No more manual typing or guessing function names!

Overview

The Lambda Function Discovery feature allows you to:
  • 🔍 Browse all Lambda functions in your AWS account
  • 📊 View detailed function metadata (runtime, memory, timeout)
  • ✅ Validate function existence before creating tools
  • ⚡ Auto-populate tool configuration forms
  • 🛡️ Prevent typos and invalid function names

How It Works

1

Enter AWS Credentials

Provide your AWS Access Key ID and Secret Access Key in the Lambda tool configuration form.
Credentials Required
{
  "access_key": "AKIA1234567890EXAMPLE",
  "secret_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
}
2

Select Region

Choose the AWS region where your Lambda functions are deployed from the dropdown menu.Supported Regions:
  • us-east-1 (N. Virginia)
  • us-west-2 (Oregon)
  • eu-west-1 (Ireland)
  • ap-southeast-1 (Singapore)
  • And more…
3

Discover Functions

Click the ”🔍 Discover Functions” button to automatically fetch all Lambda functions from your AWS account.The system will call the AWS Lambda ListFunctions API to retrieve function metadata.
4

Browse & Select

A dropdown menu appears showing all discovered functions with:
  • Function name
  • Description (if available)
  • Runtime environment
  • Memory allocation
  • Last modified date
5

Auto-populate Form

When you select a function, the form automatically fills in:
  • Function name
  • Tool description (based on Lambda description)
  • Default payload template

Function Discovery Response

When you discover functions, you’ll see detailed metadata for each:
Example Discovery Response
{
  "success": true,
  "message": "Found 5 Lambda functions",
  "functions": [
    {
      "function_name": "customer-lookup-service",
      "description": "Look up customer data by phone number",
      "runtime": "python3.9",
      "timeout": 30,
      "memory_size": 512,
      "code_size": 1024000,
      "handler": "lambda_function.lambda_handler",
      "version": "$LATEST",
      "last_modified": "2024-01-15T10:30:00Z"
    },
    {
      "function_name": "order-processing",
      "description": "Process customer orders and payments",
      "runtime": "nodejs18.x", 
      "timeout": 60,
      "memory_size": 1024,
      "handler": "index.handler"
    },
    {
      "function_name": "inventory-check",
      "description": "Check product availability in real-time",
      "runtime": "python3.8",
      "timeout": 15,
      "memory_size": 256,
      "handler": "check.availability"
    }
  ]
}

Required IAM Permissions

For function discovery to work, your AWS credentials need specific permissions:

Security Best Practices


Troubleshooting


Alternative: Manual Entry

If function discovery isn’t suitable for your use case, you can still manually enter Lambda function details:
  • Security constraints prevent credential sharing
  • Cross-account Lambda functions
  • Custom deployment processes
  • Testing with functions that don’t exist yet

Integration Examples


Next Steps

After discovering and selecting your Lambda function:
  1. Configure payload template - Define how parameters are passed
  2. Set up function parameters - Specify what inputs the LLM should provide
  3. Test the integration - Use the built-in testing feature
  4. Assign to assistants - Make the tool available to your AI assistants
  5. Monitor usage - Track performance and success rates
Ready to integrate your Lambda functions? Head to the Tools Library and create your first Lambda tool with automatic function discovery!