Function commitToolRequestForce

  • Forcefully commits a tool request to the active agent in the swarm system. Validates the session and swarm, bypassing agent validation to directly commit the request. Runs within a beginContext wrapper for execution context management, logging operations via LoggerService.

    Parameters

    • request: IToolRequest

      The tool request(s) to be processed.

    • clientId: string

      The unique identifier of the client session.

    Returns Promise<string[]>

    If session or swarm validation fails.

    Function overloads

  • Forcefully commits a tool request to the active agent in the swarm system. Validates the session and swarm, bypassing agent validation to directly commit the request. Runs within a beginContext wrapper for execution context management, logging operations via LoggerService.

    Parameters

    • request: IToolRequest[]

      The tool request(s) to be processed.

    • clientId: string

      The unique identifier of the client session.

    Returns Promise<string[]>

    If session or swarm validation fails.

    Function overloads