Skip to content

Commit a4b6455

Browse files
author
AWS
committed
Amazon Bedrock AgentCore Update: Adding AgentCore Code Interpreter Node.js Runtime Support with an optional runtime field
1 parent 7d3c7af commit a4b6455

2 files changed

Lines changed: 20 additions & 2 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Bedrock AgentCore",
4+
"contributor": "",
5+
"description": "Adding AgentCore Code Interpreter Node.js Runtime Support with an optional runtime field"
6+
}

services/bedrockagentcore/src/main/resources/codegen-resources/service-2.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1668,7 +1668,7 @@
16681668
"members":{
16691669
"evaluatorId":{
16701670
"shape":"EvaluatorId",
1671-
"documentation":"<p> The unique identifier of the evaluator to use for scoring. Can be a built-in evaluator (e.g., <code>Builtin.Helpfulness</code>, <code>Builtin.Correctness</code>) or a custom evaluator ARN created through the control plane API. </p>",
1671+
"documentation":"<p> The unique identifier of the evaluator to use for scoring. Can be a built-in evaluator (e.g., <code>Builtin.Helpfulness</code>, <code>Builtin.Correctness</code>) or a custom evaluator Id created through the control plane API. </p>",
16721672
"location":"uri",
16731673
"locationName":"evaluatorId"
16741674
},
@@ -2965,6 +2965,14 @@
29652965
},
29662966
"payload":"stream"
29672967
},
2968+
"LanguageRuntime":{
2969+
"type":"string",
2970+
"enum":[
2971+
"nodejs",
2972+
"deno",
2973+
"python"
2974+
]
2975+
},
29682976
"LeftExpression":{
29692977
"type":"structure",
29702978
"members":{
@@ -4711,7 +4719,7 @@
47114719
},
47124720
"language":{
47134721
"shape":"ProgrammingLanguage",
4714-
"documentation":"<p>The programming language of the code to execute. This tells the code interpreter which language runtime to use for execution. Common values include 'python', 'javascript', and 'r'.</p>"
4722+
"documentation":"<p>The programming language of the code to execute. This tells the code interpreter which language runtime to use for execution.</p>"
47154723
},
47164724
"clearContext":{
47174725
"shape":"Boolean",
@@ -4740,6 +4748,10 @@
47404748
"taskId":{
47414749
"shape":"MaxLenString",
47424750
"documentation":"<p>The identifier of the task for the tool operation.</p>"
4751+
},
4752+
"runtime":{
4753+
"shape":"LanguageRuntime",
4754+
"documentation":"<p>The runtime environment to use for code execution. If not specified, defaults to <code>deno</code> for JavaScript and TypeScript.</p>"
47434755
}
47444756
},
47454757
"documentation":"<p>The collection of arguments that specify the operation to perform and its parameters when invoking a tool in Amazon Bedrock AgentCore. Different tools require different arguments, and this structure provides a flexible way to pass the appropriate arguments to each tool type.</p>"

0 commit comments

Comments
 (0)