Skip to main content

execute_and_format

Function execute_and_format 

Source
pub async fn execute_and_format(
    executor: &Executor,
    tool: &str,
    args: Value,
    ctx: &AdditionalContext,
    pipeline_config: Option<PipelineConfig>,
) -> Result<FormatResult>
Expand description

Convenience: execute a tool and format the output in one call.

Extracts format from args before passing to executor.