/* tslint:disable */
/* eslint-disable */
/**
 * Fabro Run API
 * HTTP API for managing Fabro workflow run executions.
 *
 * The version of the OpenAPI document: 0.1.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */



/**
 * A single tool invocation with its input, result, and execution metadata.
 */
export interface ToolUse {
    /**
     * Unique identifier for this tool invocation. Enables correlation in parallel tool use.
     */
    'id': string;
    /**
     * Name of the tool that was invoked.
     */
    'tool_name': string;
    /**
     * JSON-encoded input passed to the tool.
     */
    'input': string;
    /**
     * Output returned by the tool. Contains the error message when is_error is true.
     */
    'result': string;
    /**
     * Whether the tool invocation failed. When true, the result field contains the error message.
     */
    'is_error': boolean;
    /**
     * Wall-clock execution time of the tool invocation in milliseconds.
     */
    'duration_ms'?: number;
}

