Skip to main content

success

Function success 

Source
pub fn success(value: Value) -> Value
Expand description

A successful CallToolResult: the value as JSON text and as structured content (non-objects are wrapped in {"result": …}). Output above MAX_TEXT_BYTES is cut and the structured copy left out.