Skip to main content

format_execution

Function format_execution 

Source
pub fn format_execution(execution: &Execution) -> Value
Expand description

Render an execution as the tools/call result body.

stdout and stderr are joined with a single newline, and the separator is omitted when either side is empty — so a command that writes only to stderr does not come back with a leading blank line.