Skip to main content

Module result

Module result 

Source
Expand description

Tool execution result types.

Structs§

ToolResult
The outcome of executing a tool.

Functions§

error_result
Create an error result with text content.
json_result
Create a success result by serializing a value to JSON.
text_result
Create a success result with text content.