Skip to content

ToolReferenceDict

Dictionary Type

ToolReferenceDict

Bases: TypedDict

Dictionary form of ToolReference.

Attributes

name instance-attribute
name: str | None

The name of the tool. Must match the name of a tool declared in the top-level tool configuration.

server_name instance-attribute
server_name: str | None

The name of the MCP server that provides the tool. Required when referencing an MCP tool.

type instance-attribute
type: str | None

The type of tool reference.