Event structure for Bedrock Agent Function invocations.
{ "messageVersion": "1.0", "actionGroup": "exampleActionGroup", "function": "getWeather", "agent": { "name": "WeatherAgent", "id": "agent-id-123", "alias": "v1", "version": "1.0" }, "parameters": [{ "name": "location", "type": "string", "value": "Seattle" }], "inputText": "What's the weather like in Seattle?", "sessionId": "session-id-456", "sessionAttributes": { "userId": "user-789", }, "promptSessionAttributes": {},} Copy
{ "messageVersion": "1.0", "actionGroup": "exampleActionGroup", "function": "getWeather", "agent": { "name": "WeatherAgent", "id": "agent-id-123", "alias": "v1", "version": "1.0" }, "parameters": [{ "name": "location", "type": "string", "value": "Seattle" }], "inputText": "What's the weather like in Seattle?", "sessionId": "session-id-456", "sessionAttributes": { "userId": "user-789", }, "promptSessionAttributes": {},}
Optional
Event structure for Bedrock Agent Function invocations.
Example