ToolArgumentsDict¶
Dictionary Type¶
ToolArgumentsDict
¶
Bases: TypedDict
Dictionary form of ToolArguments.
Attributes¶
clear_context
instance-attribute
¶
clear_context: bool | None
Whether to clear the context for the tool.
code
instance-attribute
¶
code: str | None
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.
content
instance-attribute
¶
content: Sequence[InputContentBlock | InputContentBlockDict] | None
The content for the tool operation.
directory_path
instance-attribute
¶
directory_path: str | None
The directory path for the tool operation.
language
instance-attribute
¶
language: str | None
The programming language of the code to execute. This tells the code interpreter which language runtime to use for execution.