Skip to content

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.

command instance-attribute
command: str | None

The command to execute with the tool.

content instance-attribute

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.

path instance-attribute
path: str | None

The path for the tool operation.

paths instance-attribute
paths: Sequence[str] | None

The paths for the tool operation.

runtime instance-attribute
runtime: str | None

The runtime environment to use for code execution. If not specified, defaults to deno for JavaScript and TypeScript.

task_id instance-attribute
task_id: str | None

The identifier of the task for the tool operation.