Skip to content

ToolSpecificationDict

Dictionary Type

ToolSpecificationDict

Bases: TypedDict

Dictionary form of ToolSpecification.

Attributes

description instance-attribute
description: str | None

The description for the tool.

input_schema instance-attribute

The input schema for the tool in JSON format.

name instance-attribute
name: Required[str]

The name for the tool.

strict instance-attribute
strict: bool | None

Flag to enable structured output enforcement on a tool usage response.