Skip to content

ToolSpecificationDict

Dictionary Type

ToolSpecificationDict

Bases: TypedDict

Dictionary form of ToolSpecification.

Attributes

description instance-attribute
description: str | None

The description of the tool.

input_schema instance-attribute

The input schema for the tool.

name instance-attribute
name: Required[str]

The name of the tool.

strict instance-attribute
strict: bool | None

Whether the tool schema is strictly enforced.