ToolCallBuilder

Builder for creating MessagePart.Tool.Call instances from Java code.

Usage from Java:

MessagePart.Tool.Call message = MessageBuilder.toolCall()
.id("call_123")
.tool("search")
.content("{\"query\": \"hello\"}")
.build();

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Sets the tool call arguments.

Link copied to clipboard
Link copied to clipboard

Sets the tool call ID.

Link copied to clipboard

Sets the tool name.