Switch language한국어
Back to the list

My first Lambda function in AWS Bedrock Agent

TL;DR AI

Key summary

2 min read
  1. A developer built an AWS Bedrock Agent action group backed by a Lambda function to return the current time in China Standard Time.

  2. The setup used an inline OpenAPI schema and a Python Lambda handler with zoneinfo to format the CST time.

  3. The agent was successfully tested and responded with the requested time, demonstrating a custom tool action integration.

Read the original