Content.makeToolResult

A tool_result content block (sampling): the result of a tool call, answering the tool_use whose id is toolUseId. content is the nested result content blocks. Per ToolResultContent in the 2025-11-25 / draft schema.

struct Content
static @safe
makeToolResult
(
string toolUseId
,
Content[] content = null
)