ServerToolCallPart Class

Server-side tool invocation.

Constructor

ServerToolCallPart(name: str, server_tool_call: dict[str, object], id: str | None = None)

Parameters

Name Description
name
Required
server_tool_call
Required
id
Default value: None

Attributes

id

id: str | None = None

name

name: str

server_tool_call

server_tool_call: dict[str, object]

type

type: str = 'server_tool_call'