list_milestones
List Milestones
List milestones in a repository with their progress (open/closed issue counts). Useful for finding milestone IDs needed when creating or updating issues.
list_milestones
List milestones in a repository with their progress (open/closed issue counts). Useful for finding milestone IDs needed when creating or updating issues.
list_pull_requests
List pull requests in a repository with optional filtering by state, sort order, and pagination.
merge_pull_request
Merge a pull request using the specified merge strategy. Supports merge commit, rebase, squash, and rebase-merge methods. Optionally deletes the source branch after merging.
get_organization
Retrieve detailed information about an organization including its teams and repositories.
list_pull_request_reviews
List all reviews on a pull request including their approval status and review comments.
create_team
Create a new team within an organization with specified permissions and unit access.
create_pull_request
Create a new pull request to merge changes from a head branch into a base branch. Supports assigning reviewers, labels, and milestones.
create_pull_request_review
Submit a review on a pull request. Can approve, request changes, or leave a general comment. Optionally include line-level review comments.
delete_wiki_page
Delete a wiki page from a repository.
create_release
Create a new release for a repository. Can create a new tag or use an existing one. Supports draft and pre-release flags.
get_pull_request
Retrieve detailed information about a specific pull request including merge status, reviews, and branch info.
get_repo
Retrieve detailed information about a specific repository including its configuration, statistics, and metadata.
update_release
Update an existing release's title, notes, tag, or draft/pre-release status.
create_repo
Create a new Git repository under the authenticated user's account or under a specified organization. Supports initialization with README, gitignore, and license files.
list_labels
List all labels available in a repository. Useful for finding label IDs needed when creating or updating issues and pull requests.
create_comment
Add a comment to an issue or pull request. Supports Markdown formatting.
search_repos
Search and list repositories on the Gitea instance. Can search by keyword, list the authenticated user's repositories, or list repositories belonging to a specific organization. Supports pagination and sorting.
create_wiki_page
Create a new wiki page in a repository. Content must be base64-encoded.
delete_release
Delete a release from a repository. This does not delete the associated Git tag.
create_milestone
Create a new milestone in a repository for tracking progress on a group of issues and pull requests.
update_comment
Edit an existing comment on an issue or pull request.
list_wiki_pages
List all wiki pages in a repository. Returns page titles and URLs without content.
update_pull_request
Update an existing pull request's title, description, state, assignees, or base branch. Can be used to close or reopen pull requests.
delete_repo
Permanently delete a repository. This action is irreversible and removes all associated data including issues, pull requests, releases, and wiki pages.
list_branches
List all branches of a repository with their latest commit info and protection status.
fork_repo
Fork a repository to the authenticated user's account or to a specified organization.
delete_comment
Delete a comment from an issue or pull request.
delete_file
Delete a file from a repository. Requires the current file SHA to prevent accidental deletion of modified files.
get_issue
Retrieve detailed information about a specific issue including its labels, assignees, milestone, and comments count.
manage_collaborator
Add or remove a collaborator from a repository. When adding, you can specify the permission level.
create_branch
Create a new branch in a repository from an existing branch or the default branch.
create_label
Create a new label in a repository. Labels can be assigned to issues and pull requests for categorization.
get_wiki_page
Retrieve a specific wiki page's content and metadata. Content is returned base64-encoded.
update_organization
Update an organization's display name, description, website, location, or visibility.
list_releases
List releases in a repository including draft and pre-release versions, their assets, and metadata.
update_wiki_page
Update an existing wiki page's content or title. Content must be base64-encoded.
manage_team_member
Add or remove a user from an organization team.
create_issue
Create a new issue in a repository with optional labels, assignees, milestone, and due date.
update_repo
Update a repository's settings including name, description, visibility, archive status, feature toggles, topics, and default branch.
get_file_content
Read a file's content from a repository. Returns the file metadata and base64-encoded content. Supports reading from a specific branch or commit ref.
delete_branch
Delete a branch from a repository. Cannot delete protected or default branches.
list_issues
List issues in a repository with filtering by state, labels, milestone, and type. Returns issues excluding pull requests by default.
list_teams
List all teams in an organization with their permissions and accessible units.
create_organization
Create a new organization on the Gitea instance.
list_collaborators
List all collaborators of a repository with their access information.
list_issue_comments
List all comments on an issue or pull request. Comments are returned in chronological order.
create_or_update_file
Create a new file or update an existing file in a repository. Content must be base64-encoded. When updating, provide the current file SHA to prevent conflicts.
update_issue
Update an existing issue's title, body, state, assignees, labels, milestone, or due date. Can be used to close or reopen issues.
list_organizations
List organizations that the authenticated user belongs to.
list_commits
List commits in a repository. Can filter by branch/tag/SHA and by file path. Returns commit history with author information.
Manage Git repositories, branches, tags, and commit history on a self-hosted Gitea instance. Create, review, and merge pull requests with code reviews. Track issues with labels, milestones, assignees, time tracking, and dependencies. Manage organizations, teams, and user permissions. Publish and download packages across 20+ package registries (NPM, PyPI, Maven, Docker, etc.). Configure and monitor CI/CD workflows via Gitea Actions. Manage repository wikis, releases, deploy keys, and collaborators. Receive webhook notifications for push, issue, pull request, release, wiki, and package events.
Common questions about connecting Gitea to AI agents with Metorial.