Skip to content

HarnessToolUseBlock

Structure Class

HarnessToolUseBlock dataclass

Bases: _SerdeShape

A tool use request from the model.

Attributes

input instance-attribute
input: Document

The JSON input to pass to the tool.

name instance-attribute
name: str

The name of the tool to call.

server_name class-attribute instance-attribute
server_name: str | None = ...

The name of the MCP server providing this tool.

tool_use_id instance-attribute
tool_use_id: str

The unique ID of this tool use.

type class-attribute instance-attribute
type: str | None = ...

The type of tool use.