build

Builds a new MessagePart.Tool.Call instance.

Throws

if tool name or content parts are missing.