Skip to main content

tool_result_message

Function tool_result_message 

Source
pub fn tool_result_message(
    call: CallId,
    name: ToolName,
    message: String,
) -> UserContent
Expand description

Constructs the error result of a call that never ran, its text verbatim, such as recovery feedback or a skip reason. JSON-shaped text is not reinterpreted as structured or multimodal output.