add_issue_block
Set an issue as a blocker for another issue, creating a dependency where the dependent issue remains blocked until the blocker is resolved.
Instructions
Make an issue block another issue. index is the blocker; dep_index becomes blocked by (dependent on) index. dep_owner/dep_repo default to the same repo but may point at another repo (requires AllowCrossRepositoryDependencies). Returns the blocker issue.
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": {
"index": "<index>",
"dep_index": "<dep_index>"
},
"name": "add_issue_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository name of the issue that will block the other (defaults to GITEA_DEFAULT_REPO) | |
| index | Yes | Issue number that will block the dependency (the blocker) | |
| owner | No | Repository owner of the issue that will block the other (defaults to GITEA_DEFAULT_OWNER) | |
| dep_repo | No | Repository name of the issue to block (defaults to the same repo as `repo`; cross-repo dependencies require the instance to enable AllowCrossRepositoryDependencies) | |
| dep_index | Yes | Issue number to block (it becomes dependent on `index`; the blocked issue) | |
| dep_owner | No | Repository owner of the issue to block (defaults to the same owner as `owner`; cross-repo dependencies require the instance to enable AllowCrossRepositoryDependencies) |