Uses of Annotation Interface
com.google.adk.tools.Annotations.Schema
Packages that use Annotations.Schema
Package
Description
-
Uses of Annotations.Schema in com.example
Methods in com.example with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionCustomDieTool.checkPrime(List<Integer> nums) CustomDieTool.rollDie(int sides, ToolContext toolContext) Method parameters in com.example with annotations of type Annotations.Schema -
Uses of Annotations.Schema in com.example.springchat.advanced
Methods in com.example.springchat.advanced with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionOrderService.getDeliveryEstimate(String orderId) Returns the delivery estimate of the order, or anerrorentry if there is no such order.OrderService.getOrderStatus(String orderId) Returns the status and item of the order, or anerrorentry if there is no such order.Method parameters in com.example.springchat.advanced with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionOrderService.getDeliveryEstimate(String orderId) Returns the delivery estimate of the order, or anerrorentry if there is no such order.OrderService.getOrderStatus(String orderId) Returns the status and item of the order, or anerrorentry if there is no such order. -
Uses of Annotations.Schema in com.example.workflows
Methods in com.example.workflows with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionReturnsWorkflow.OrderSystem.cancelOrder(String orderId) Cancels an order that has not shipped yet and refunds it in full.doubleSingleTurnSubAgentDemo.PixelPrices.checkPhonePrice(String modelName) Mock tool to check the current price of a Pixel phone model.TaskSubAgentDemo.FoodDelivery.confirmation()Confirm proceeding with the order.OrderProcessingWorkflow.CreditBureau.creditCheck(ToolContext toolContext, String customerId, int orderTotalUsd) Checks whether the customer's credit limit covers the order total.com.google.common.collect.ImmutableList<String> AgentInWorkflow.LabOrders.findOrders()Finds orders for the patient.SupportTriageWorkflow.StatusPage.getServiceStatus()Returns the current status of each service.com.google.common.collect.ImmutableList<SupportTriageWorkflow.Charge> SupportTriageWorkflow.BillingSystem.listRecentCharges(String accountId) Lists the charges on an account from the last 60 days, newest first.ReturnsWorkflow.OrderSystem.lookupOrder(String orderId) Looks up where an order is in fulfillment.TaskSubAgentDemo.FoodDelivery.placeOrder(List<TaskSubAgentDemo.OrderItem> orders, TaskSubAgentDemo.PaymentInfo paymentInfo) Mock an order placement operation.ReturnsWorkflow.OrderSystem.sendReturnLabel(String orderId) Emails the customer a prepaid label for sending an order back.Method parameters in com.example.workflows with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionReturnsWorkflow.OrderSystem.cancelOrder(String orderId) Cancels an order that has not shipped yet and refunds it in full.doubleSingleTurnSubAgentDemo.PixelPrices.checkPhonePrice(String modelName) Mock tool to check the current price of a Pixel phone model.OrderProcessingWorkflow.CreditBureau.creditCheck(ToolContext toolContext, String customerId, int orderTotalUsd) Checks whether the customer's credit limit covers the order total.OrderProcessingWorkflow.CreditBureau.creditCheck(ToolContext toolContext, String customerId, int orderTotalUsd) Checks whether the customer's credit limit covers the order total.com.google.common.collect.ImmutableList<SupportTriageWorkflow.Charge> SupportTriageWorkflow.BillingSystem.listRecentCharges(String accountId) Lists the charges on an account from the last 60 days, newest first.ReturnsWorkflow.OrderSystem.lookupOrder(String orderId) Looks up where an order is in fulfillment.TaskSubAgentDemo.FoodDelivery.placeOrder(List<TaskSubAgentDemo.OrderItem> orders, TaskSubAgentDemo.PaymentInfo paymentInfo) Mock an order placement operation.TaskSubAgentDemo.FoodDelivery.placeOrder(List<TaskSubAgentDemo.OrderItem> orders, TaskSubAgentDemo.PaymentInfo paymentInfo) Mock an order placement operation.ReturnsWorkflow.OrderSystem.sendReturnLabel(String orderId) Emails the customer a prepaid label for sending an order back. -
Uses of Annotations.Schema in com.google.adk.flows.llmflows
Methods in com.google.adk.flows.llmflows with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionstatic voidAgentTransfer.transferToAgent(String agentName, ToolContext toolContext) Method parameters in com.google.adk.flows.llmflows with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionstatic voidAgentTransfer.transferToAgent(String agentName, ToolContext toolContext) static voidAgentTransfer.transferToAgent(String agentName, ToolContext toolContext) -
Uses of Annotations.Schema in com.google.adk.tools
Methods in com.google.adk.tools with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionstatic voidExitLoopTool.exitLoop(ToolContext toolContext) Exit theLoopAgentexecution.Method parameters in com.google.adk.tools with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionstatic io.reactivex.rxjava3.core.Single<LoadMemoryResponse> LoadMemoryTool.loadMemory(String query, ToolContext toolContext) Loads the memory for the current user. -
Uses of Annotations.Schema in com.google.adk.tools.computeruse
Methods in com.google.adk.tools.computeruse with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.clickAt(int x, int y) Clicks at a specific x, y coordinate on the webpage.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.dragAndDrop(int x, int y, int destinationX, int destinationY) Drag and drop.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.goBack()Navigates back.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.goForward()Navigates forward.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.hoverAt(int x, int y) Hovers at a specific x, y coordinate on the webpage.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.keyCombination(List<String> keys) Presses key combination.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.openWebBrowser()Opens the web browser.io.reactivex.rxjava3.core.Single<ComputerState> Scrolls at a specific x, y coordinate by magnitude.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.scrollDocument(String direction) Scrolls the entire webpage in a direction.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.typeTextAt(int x, int y, String text, Boolean pressEnter, Boolean clearBeforeTyping) Types text at a specific x, y coordinate.Method parameters in com.google.adk.tools.computeruse with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.clickAt(int x, int y) Clicks at a specific x, y coordinate on the webpage.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.clickAt(int x, int y) Clicks at a specific x, y coordinate on the webpage.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.dragAndDrop(int x, int y, int destinationX, int destinationY) Drag and drop.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.dragAndDrop(int x, int y, int destinationX, int destinationY) Drag and drop.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.dragAndDrop(int x, int y, int destinationX, int destinationY) Drag and drop.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.dragAndDrop(int x, int y, int destinationX, int destinationY) Drag and drop.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.hoverAt(int x, int y) Hovers at a specific x, y coordinate on the webpage.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.hoverAt(int x, int y) Hovers at a specific x, y coordinate on the webpage.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.keyCombination(List<String> keys) Presses key combination.io.reactivex.rxjava3.core.Single<ComputerState> Navigates to URL.io.reactivex.rxjava3.core.Single<ComputerState> Scrolls at a specific x, y coordinate by magnitude.io.reactivex.rxjava3.core.Single<ComputerState> Scrolls at a specific x, y coordinate by magnitude.io.reactivex.rxjava3.core.Single<ComputerState> Scrolls at a specific x, y coordinate by magnitude.io.reactivex.rxjava3.core.Single<ComputerState> Scrolls at a specific x, y coordinate by magnitude.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.scrollDocument(String direction) Scrolls the entire webpage in a direction.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.typeTextAt(int x, int y, String text, Boolean pressEnter, Boolean clearBeforeTyping) Types text at a specific x, y coordinate.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.typeTextAt(int x, int y, String text, Boolean pressEnter, Boolean clearBeforeTyping) Types text at a specific x, y coordinate.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.typeTextAt(int x, int y, String text, Boolean pressEnter, Boolean clearBeforeTyping) Types text at a specific x, y coordinate.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.typeTextAt(int x, int y, String text, Boolean pressEnter, Boolean clearBeforeTyping) Types text at a specific x, y coordinate.io.reactivex.rxjava3.core.Single<ComputerState> BaseComputer.typeTextAt(int x, int y, String text, Boolean pressEnter, Boolean clearBeforeTyping) Types text at a specific x, y coordinate.io.reactivex.rxjava3.core.Single<ComputerState> Waits for specified duration. -
Uses of Annotations.Schema in com.google.adk.tutorials
Method parameters in com.google.adk.tutorials with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionCityTimeWeather.getCurrentTime(String city) CityTimeWeather.getWeather(String city) LiveAudioSingleAgent.getWeather(String location)