Ravi Sir's Cards › AWS
Action groups
This revision card explains Action groups. It starts from the need that without tools the agent can only talk; with tools it can change real data. An action group exposes APIs (OpenAPI) or function schemas that Lambda implements for the agent. The how-to section notes define parameters carefully; validate in Lambda; return clear errors the model can recover from. An example on the card is get_appointment(date) and cancel_appointment(id) are two functions in one clinic action group.
Read card text
What this card says
Why do we need it?
Without tools the agent can only talk; with tools it can change real data.
What is it?
An action group exposes APIs (OpenAPI) or function schemas that Lambda implements for the agent.
action group
How to do it
Define parameters carefully; validate in Lambda; return clear errors the model can recover from.
Example
get_appointment(date) and cancel_appointment(id) are two functions in one clinic action group.