ToolArguments
¶
Used by
-
AsyncBedrockAgentCoreClient Operationsinvoke_code_interpreter -
BedrockAgentCoreClient Operationsinvoke_code_interpreter
Source code in docs_src/capo_bedrock_agentcore/types/tool_arguments.py
clear_context
instance-attribute
¶
clear_context: NotRequired[bool]
Whether to clear the context for the tool.
code
instance-attribute
¶
code: NotRequired[MaxLenString]
The code to execute in a code interpreter session. This is the source code in the specified programming language that will be executed by the code interpreter.
command
instance-attribute
¶
command: NotRequired[MaxLenString]
The command to execute with the tool.
content
instance-attribute
¶
content: NotRequired[InputContentBlockList]
The content for the tool operation.
directory_path
instance-attribute
¶
directory_path: NotRequired[MaxLenString]
The directory path for the tool operation.
language
instance-attribute
¶
language: NotRequired[ProgrammingLanguage]
The programming language of the code to execute. This tells the code interpreter which language runtime to use for execution.
runtime
instance-attribute
¶
runtime: NotRequired[LanguageRuntime]
The runtime environment to use for code execution. If not specified, defaults to deno for JavaScript and TypeScript.
task_id
instance-attribute
¶
task_id: NotRequired[MaxLenString]
The identifier of the task for the tool operation.