ART Framework API Docs
    Preparing search index...

    Interface ToolSystem

    Interface for the system responsible for orchestrating tool execution.

    interface ToolSystem {
        executeTools(
            toolCalls: ParsedToolCall[],
            threadId: string,
            traceId?: string,
        ): Promise<ToolResult[]>;
    }
    Index

    Methods

    Methods

    • Orchestrates the execution of a sequence of tool calls determined during the planning phase. This involves verifying permissions, validating inputs, calling the tool executor, and recording observations.

      Parameters

      • toolCalls: ParsedToolCall[]

        An array of ParsedToolCall objects generated by the OutputParser.

      • threadId: string

        The ID of the current thread, used for context and checking tool permissions via StateManager.

      • OptionaltraceId: string

        Optional trace ID for correlating observations.

      Returns Promise<ToolResult[]>

      A promise resolving to an array of ToolResult objects, one for each attempted tool call (including errors).