A g e n t s の レ ス ポ ン ス 解 析 ~ 1 ~ • InvokeAgent()のレスポンスからBedrock Agentsの動作を確認 7 { "accessDeniedException": { }, "badGatewayException": { }, "chunk": { … }, …….. "trace": { <TracePartオブジェクト> }, … } 参考: https://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/trace-events.html InvokeAgentのレスポンスボディ TracePartオブジェクト Traceオブジェクトの OrchestrationTrace { "agentId": "string", "agentName": "string", "collaboratorName": "string", "agentAliasId": "string", "sessionId": "string", "agentVersion": "string", "trace": { <Traceオブジェクト> }, "callerChain": [{ "agentAliasArn": "agent alias arn" }] } { "modelInvocationInput": { // … }, "modelInvocationOutput": { "metadata": { "usage": { "inputToken":: int, "outputToken":: int }, "rawResponse": { "content": “….“ }, "rationale": { ... }, "invocationInput": { ... }, "observation": { ... } }