GitHubIssueTool

@Component
class GitHubIssueTool @Autowired constructor(properties: AgentConstraintsProperties, gitHubIssueService: GitHubIssueService)

Constructors

Link copied to clipboard
@Autowired
constructor(properties: AgentConstraintsProperties, gitHubIssueService: GitHubIssueService)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
@Tool(description = "Confirm a previously proposed issue by its ID, marking it ready to be published.")
fun confirmIssue(@McpToolParam(description = "The issue ID returned by createIssue") issueUuId: String): String
Link copied to clipboard
@Tool(description = "Propose a new GitHub issue from a user story written following the issue template (title line, task checklist, and an hours-based points estimate). Returns the proposed issue for review along with an issue ID to pass to confirmIssue.")
fun createIssue(@McpToolParam(description = "The drafted user story ticket text, following the issue template format") ticketRequest: String): String
Link copied to clipboard
@Tool(description = "Get the guidance prompt to follow when drafting a GitHub issue from a task or story description, including the issue template and the repository's available labels. Call this before createIssue so the drafted ticket text matches the expected format.")
fun getIssueCreationPrompt(@McpToolParam(description = "The task or story description to convert into a GitHub issue") prompt: String): String
Link copied to clipboard
@Tool(description = "Publish the most recently confirmed issue to GitHub.")
fun publishIssue(): String