decide_issue
Approve or reject a Bytebase issue at its current approval step after confirming the decision in a form; declining or cancelling leaves it unchanged.
Instructions
Approve or reject a Bytebase issue at its current approval step. The user confirms the decision in this client first.
Parameter | Required | Description |
issue | Yes | Issue name, e.g. "projects/hr/issues/42" |
decision | Yes | "approve" or "reject" |
comment | No | Note recorded with the decision |
The tool shows the user what the issue changes and asks them to confirm in a form. It decides only when they accept; declining or cancelling changes nothing. A client that cannot show the form gets the issue's link, to decide it in the Bytebase console instead. Do not ask in chat first: the form is the question.
It decides database changes and access requests. Role requests stay in the Bytebase console, because approving one grants a project role.
The approval rules decide who may approve, as in the console: the user must hold the role of the current step, and approving their own issue, or a plan they last changed, is refused unless the project allows it.
This is the only way to decide an issue over MCP; call_api refuses IssueService/ApproveIssue and RejectIssue.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"issue": "<issue>",
"decision": "<decision>"
},
"name": "decide_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue | Yes | ||
| comment | No | ||
| decision | Yes |