ToolArguments

The collection of arguments that specify the operation to perform and its parameters when invoking a tool in Amazon Bedrock. Different tools require different arguments, and this structure provides a flexible way to pass the appropriate arguments to each tool type.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether to clear the context for the tool.

Link copied to clipboard
val code: String?

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.

Link copied to clipboard

The command to execute with the tool.

Link copied to clipboard

The content for the tool operation.

Link copied to clipboard

The directory path for the tool operation.

Link copied to clipboard

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'.

Link copied to clipboard
val path: String?

The path for the tool operation.

Link copied to clipboard

The paths for the tool operation.

Link copied to clipboard

The identifier of the task for the tool operation.

Functions

Link copied to clipboard
inline fun copy(block: ToolArguments.Builder.() -> Unit = {}): ToolArguments
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String