Interface ToolsGrpc.AsyncService (0.50.0)

public static interface ToolsGrpc.AsyncService

Service for managing Tools.

Methods

createTool(CreateToolRequest request, StreamObserver<Tool> responseObserver)

public default void createTool(CreateToolRequest request, StreamObserver<Tool> responseObserver)

Creates a Tool in the specified agent.

Parameters
Name Description
request CreateToolRequest
responseObserver io.grpc.stub.StreamObserver<Tool>

deleteTool(DeleteToolRequest request, StreamObserver<Empty> responseObserver)

public default void deleteTool(DeleteToolRequest request, StreamObserver<Empty> responseObserver)

Deletes a specified Tool.

Parameters
Name Description
request DeleteToolRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

exportTools(ExportToolsRequest request, StreamObserver<Operation> responseObserver)

public default void exportTools(ExportToolsRequest request, StreamObserver<Operation> responseObserver)

Exports the selected tools.

Parameters
Name Description
request ExportToolsRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getTool(GetToolRequest request, StreamObserver<Tool> responseObserver)

public default void getTool(GetToolRequest request, StreamObserver<Tool> responseObserver)

Retrieves the specified Tool.

Parameters
Name Description
request GetToolRequest
responseObserver io.grpc.stub.StreamObserver<Tool>

listTools(ListToolsRequest request, StreamObserver<ListToolsResponse> responseObserver)

public default void listTools(ListToolsRequest request, StreamObserver<ListToolsResponse> responseObserver)

Returns a list of Tools in the specified agent.

Parameters
Name Description
request ListToolsRequest
responseObserver io.grpc.stub.StreamObserver<ListToolsResponse>

updateTool(UpdateToolRequest request, StreamObserver<Tool> responseObserver)

public default void updateTool(UpdateToolRequest request, StreamObserver<Tool> responseObserver)

Update the specified Tool.

Parameters
Name Description
request UpdateToolRequest
responseObserver io.grpc.stub.StreamObserver<Tool>