The following agent will use AWS Lambda to list all Lambda functions in our AWS account and invoke a specific Lambda function.
cookbook/tools/aws_lambda_tools.py
from agno.agent import Agentfrom agno.tools.aws_lambda import AWSLambdaTools# Create an Agent with the AWSLambdaToolagent = Agent( tools=[AWSLambdaTools(region_name="us-east-1")], name="AWS Lambda Agent", show_tool_calls=True,)# Example 1: List all Lambda functionsagent.print_response("List all Lambda functions in our AWS account", markdown=True)# Example 2: Invoke a specific Lambda functionagent.print_response("Invoke the 'hello-world' Lambda function with an empty payload", markdown=True)