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.adkprtriaging
Methods in com.example.adkprtriaging with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionAdkPrTriagingAgent.addCommentToPr(int prNumber, String comment) Posts the specified comment on a pull request.AdkPrTriagingAgent.addLabelToPr(int prNumber, String label) Adds the specified label to a pull request, validating it is on the allowlist.AdkPrTriagingAgent.getPullRequestDetails(int prNumber) Fetches the details of the specified pull request via the sharedGitHubTools.Method parameters in com.example.adkprtriaging with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionAdkPrTriagingAgent.addCommentToPr(int prNumber, String comment) Posts the specified comment on a pull request.AdkPrTriagingAgent.addCommentToPr(int prNumber, String comment) Posts the specified comment on a pull request.AdkPrTriagingAgent.addLabelToPr(int prNumber, String label) Adds the specified label to a pull request, validating it is on the allowlist.AdkPrTriagingAgent.addLabelToPr(int prNumber, String label) Adds the specified label to a pull request, validating it is on the allowlist.AdkPrTriagingAgent.getPullRequestDetails(int prNumber) Fetches the details of the specified pull request via the sharedGitHubTools. -
Uses of Annotations.Schema in com.example.adkspam
Methods in com.example.adkspam with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionSpamDetectionAgent.flagIssueAsSpam(int itemNumber, String detectionReason) Flags an issue as spam by applying the configured spam label and posting one alert comment for maintainers.Method parameters in com.example.adkspam with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionSpamDetectionAgent.flagIssueAsSpam(int itemNumber, String detectionReason) Flags an issue as spam by applying the configured spam label and posting one alert comment for maintainers.SpamDetectionAgent.flagIssueAsSpam(int itemNumber, String detectionReason) Flags an issue as spam by applying the configured spam label and posting one alert comment for maintainers. -
Uses of Annotations.Schema in com.example.adkstale
Methods in com.example.adkstale with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionAdkStaleAgent.addLabelToIssue(int itemNumber, String labelName) AdkStaleAgent.addStaleLabelAndComment(int itemNumber) AdkStaleAgent.alertMaintainerOfEdit(int itemNumber) AdkStaleAgent.closeAsStale(int itemNumber) AdkStaleAgent.getIssueState(int itemNumber) AdkStaleAgent.removeLabelFromIssue(int itemNumber, String labelName) Method parameters in com.example.adkstale with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionAdkStaleAgent.addLabelToIssue(int itemNumber, String labelName) AdkStaleAgent.addLabelToIssue(int itemNumber, String labelName) AdkStaleAgent.addStaleLabelAndComment(int itemNumber) AdkStaleAgent.alertMaintainerOfEdit(int itemNumber) AdkStaleAgent.closeAsStale(int itemNumber) AdkStaleAgent.getIssueState(int itemNumber) AdkStaleAgent.removeLabelFromIssue(int itemNumber, String labelName) AdkStaleAgent.removeLabelFromIssue(int itemNumber, String labelName) -
Uses of Annotations.Schema in com.example.adktriaging
Methods in com.example.adktriaging with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionAdkTriagingAgent.addLabelToIssue(int issueNumber, String label) Adds the specified label to a GitHub issue, validating it is on the allowlist.AdkTriagingAgent.assignGtechOwnerToIssue(int issueNumber) Round-robin assigns a gTech triager to the issue usingissue_number % N.AdkTriagingAgent.listUntriagedIssues(int issueCount) Lists open issues that still need triaging.Method parameters in com.example.adktriaging with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionAdkTriagingAgent.addLabelToIssue(int issueNumber, String label) Adds the specified label to a GitHub issue, validating it is on the allowlist.AdkTriagingAgent.addLabelToIssue(int issueNumber, String label) Adds the specified label to a GitHub issue, validating it is on the allowlist.AdkTriagingAgent.assignGtechOwnerToIssue(int issueNumber) Round-robin assigns a gTech triager to the issue usingissue_number % N.AdkTriagingAgent.listUntriagedIssues(int issueCount) Lists open issues that still need triaging. -
Uses of Annotations.Schema in com.example.github
Methods in com.example.github with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionGitHubTools.addCommentToIssue(String repoOwner, String repoName, int issueNumber, String body) GitHubTools.addCommentToPullRequest(String repoOwner, String repoName, int prNumber, String comment) GitHubTools.addLabelToIssue(String repoOwner, String repoName, int issueNumber, String label) GitHubTools.addLabelToPullRequest(String repoOwner, String repoName, int prNumber, String label) GitHubTools.assignIssue(String repoOwner, String repoName, int issueNumber, List<String> assignees) GitHubTools.closeIssue(String repoOwner, String repoName, int issueNumber) GitHubTools.createIssue(String repoOwner, String repoName, String title, String body) GitHubTools.createPullRequest(String repoOwner, String repoName, String baseBranch, List<String> filePaths, List<String> newContents, String title, String body) GitHubTools.findDocIssues(String repoOwner, String repoName, String codeRepo) GitHubTools.findPullRequestsForIssue(String repoOwner, String repoName, int issueNumber) GitHubTools.getChangedFiles(String repoOwner, String repoName, String startTag, String endTag, String pathFilter) GitHubTools.getFileContent(String repoOwner, String repoName, String filePath) GitHubTools.getFileDiff(String repoOwner, String repoName, String startTag, String endTag, String filePath) GitHubTools.getIssueComments(String repoOwner, String repoName, int issueNumber) GitHubTools.getPullRequest(String repoOwner, String repoName, int prNumber) GitHubTools.listOpenIssues(String repoOwner, String repoName, Integer maxResults) GitHubTools.listOpenIssuesUpdatedSince(String repoOwner, String repoName, String updatedSince, Integer maxResults) GitHubTools.listReleases(String repoOwner, String repoName) GitHubTools.listRepositoryCollaborators(String repoOwner, String repoName) GitHubTools.removeLabelFromIssue(String repoOwner, String repoName, int issueNumber, String label) GitHubTools.searchCode(String repoOwner, String repoName, String query) Method parameters in com.example.github with annotations of type Annotations.SchemaModifier and TypeMethodDescriptionGitHubTools.addCommentToIssue(String repoOwner, String repoName, int issueNumber, String body) GitHubTools.addCommentToIssue(String repoOwner, String repoName, int issueNumber, String body) GitHubTools.addCommentToIssue(String repoOwner, String repoName, int issueNumber, String body) GitHubTools.addCommentToIssue(String repoOwner, String repoName, int issueNumber, String body) GitHubTools.addCommentToPullRequest(String repoOwner, String repoName, int prNumber, String comment) GitHubTools.addCommentToPullRequest(String repoOwner, String repoName, int prNumber, String comment) GitHubTools.addCommentToPullRequest(String repoOwner, String repoName, int prNumber, String comment) GitHubTools.addCommentToPullRequest(String repoOwner, String repoName, int prNumber, String comment) GitHubTools.addLabelToIssue(String repoOwner, String repoName, int issueNumber, String label) GitHubTools.addLabelToIssue(String repoOwner, String repoName, int issueNumber, String label) GitHubTools.addLabelToIssue(String repoOwner, String repoName, int issueNumber, String label) GitHubTools.addLabelToIssue(String repoOwner, String repoName, int issueNumber, String label) GitHubTools.addLabelToPullRequest(String repoOwner, String repoName, int prNumber, String label) GitHubTools.addLabelToPullRequest(String repoOwner, String repoName, int prNumber, String label) GitHubTools.addLabelToPullRequest(String repoOwner, String repoName, int prNumber, String label) GitHubTools.addLabelToPullRequest(String repoOwner, String repoName, int prNumber, String label) GitHubTools.assignIssue(String repoOwner, String repoName, int issueNumber, List<String> assignees) GitHubTools.assignIssue(String repoOwner, String repoName, int issueNumber, List<String> assignees) GitHubTools.assignIssue(String repoOwner, String repoName, int issueNumber, List<String> assignees) GitHubTools.assignIssue(String repoOwner, String repoName, int issueNumber, List<String> assignees) GitHubTools.closeIssue(String repoOwner, String repoName, int issueNumber) GitHubTools.closeIssue(String repoOwner, String repoName, int issueNumber) GitHubTools.closeIssue(String repoOwner, String repoName, int issueNumber) GitHubTools.createIssue(String repoOwner, String repoName, String title, String body) GitHubTools.createIssue(String repoOwner, String repoName, String title, String body) GitHubTools.createIssue(String repoOwner, String repoName, String title, String body) GitHubTools.createIssue(String repoOwner, String repoName, String title, String body) GitHubTools.createPullRequest(String repoOwner, String repoName, String baseBranch, List<String> filePaths, List<String> newContents, String title, String body) GitHubTools.createPullRequest(String repoOwner, String repoName, String baseBranch, List<String> filePaths, List<String> newContents, String title, String body) GitHubTools.createPullRequest(String repoOwner, String repoName, String baseBranch, List<String> filePaths, List<String> newContents, String title, String body) GitHubTools.createPullRequest(String repoOwner, String repoName, String baseBranch, List<String> filePaths, List<String> newContents, String title, String body) GitHubTools.createPullRequest(String repoOwner, String repoName, String baseBranch, List<String> filePaths, List<String> newContents, String title, String body) GitHubTools.createPullRequest(String repoOwner, String repoName, String baseBranch, List<String> filePaths, List<String> newContents, String title, String body) GitHubTools.createPullRequest(String repoOwner, String repoName, String baseBranch, List<String> filePaths, List<String> newContents, String title, String body) GitHubTools.findDocIssues(String repoOwner, String repoName, String codeRepo) GitHubTools.findDocIssues(String repoOwner, String repoName, String codeRepo) GitHubTools.findDocIssues(String repoOwner, String repoName, String codeRepo) GitHubTools.findPullRequestsForIssue(String repoOwner, String repoName, int issueNumber) GitHubTools.findPullRequestsForIssue(String repoOwner, String repoName, int issueNumber) GitHubTools.findPullRequestsForIssue(String repoOwner, String repoName, int issueNumber) GitHubTools.getChangedFiles(String repoOwner, String repoName, String startTag, String endTag, String pathFilter) GitHubTools.getChangedFiles(String repoOwner, String repoName, String startTag, String endTag, String pathFilter) GitHubTools.getChangedFiles(String repoOwner, String repoName, String startTag, String endTag, String pathFilter) GitHubTools.getChangedFiles(String repoOwner, String repoName, String startTag, String endTag, String pathFilter) GitHubTools.getChangedFiles(String repoOwner, String repoName, String startTag, String endTag, String pathFilter) GitHubTools.getFileContent(String repoOwner, String repoName, String filePath) GitHubTools.getFileContent(String repoOwner, String repoName, String filePath) GitHubTools.getFileContent(String repoOwner, String repoName, String filePath) GitHubTools.getFileDiff(String repoOwner, String repoName, String startTag, String endTag, String filePath) GitHubTools.getFileDiff(String repoOwner, String repoName, String startTag, String endTag, String filePath) GitHubTools.getFileDiff(String repoOwner, String repoName, String startTag, String endTag, String filePath) GitHubTools.getFileDiff(String repoOwner, String repoName, String startTag, String endTag, String filePath) GitHubTools.getFileDiff(String repoOwner, String repoName, String startTag, String endTag, String filePath) GitHubTools.getIssueComments(String repoOwner, String repoName, int issueNumber) GitHubTools.getIssueComments(String repoOwner, String repoName, int issueNumber) GitHubTools.getIssueComments(String repoOwner, String repoName, int issueNumber) GitHubTools.getPullRequest(String repoOwner, String repoName, int prNumber) GitHubTools.getPullRequest(String repoOwner, String repoName, int prNumber) GitHubTools.getPullRequest(String repoOwner, String repoName, int prNumber) GitHubTools.listOpenIssues(String repoOwner, String repoName, Integer maxResults) GitHubTools.listOpenIssues(String repoOwner, String repoName, Integer maxResults) GitHubTools.listOpenIssues(String repoOwner, String repoName, Integer maxResults) GitHubTools.listOpenIssuesUpdatedSince(String repoOwner, String repoName, String updatedSince, Integer maxResults) GitHubTools.listOpenIssuesUpdatedSince(String repoOwner, String repoName, String updatedSince, Integer maxResults) GitHubTools.listOpenIssuesUpdatedSince(String repoOwner, String repoName, String updatedSince, Integer maxResults) GitHubTools.listOpenIssuesUpdatedSince(String repoOwner, String repoName, String updatedSince, Integer maxResults) GitHubTools.listReleases(String repoOwner, String repoName) GitHubTools.listReleases(String repoOwner, String repoName) GitHubTools.listRepositoryCollaborators(String repoOwner, String repoName) GitHubTools.listRepositoryCollaborators(String repoOwner, String repoName) GitHubTools.removeLabelFromIssue(String repoOwner, String repoName, int issueNumber, String label) GitHubTools.removeLabelFromIssue(String repoOwner, String repoName, int issueNumber, String label) GitHubTools.removeLabelFromIssue(String repoOwner, String repoName, int issueNumber, String label) GitHubTools.removeLabelFromIssue(String repoOwner, String repoName, int issueNumber, String label) GitHubTools.searchCode(String repoOwner, String repoName, String query) GitHubTools.searchCode(String repoOwner, String repoName, String query) GitHubTools.searchCode(String repoOwner, String repoName, String query) -
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
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)