← Tools Reference

Gitea

Gitea integration (Developer Tools). Imported from open-connector.

API key8 tools{base_url}
GET
gitea_get_current_user
Get the current authenticated Gitea user profile.

/user

GET
gitea_list_my_repositories
List repositories owned by the authenticated Gitea user.

/user/repos

2 parameters
ParamTypeRequiredDescription
pageintegeroptionalPage number of results to return.
limitintegeroptionalMaximum number of results to return.
GET
gitea_get_repository
Get metadata for a Gitea repository by owner and name.

/repos/{owner}/{repo}

2 parameters
ParamTypeRequiredDescription
ownerstringrequiredOwner of the repository.
repostringrequiredName of the repository.
GET
gitea_search_repositories
Search Gitea repositories by keyword with optional repository filters.

/repos/search

16 parameters
ParamTypeRequiredDescription
querystringrequiredKeyword used to search repositories.
topicbooleanoptionalWhether to limit the keyword search to repository topics.
includeDescriptionbooleanoptionalWhether the keyword should also search repository descriptions.
ownerIdintegeroptionalOnly search repositories owned by or contributed to by this user ID.
priorityOwnerIdintegeroptionalRepository owner ID to prioritize in the results.
teamIdintegeroptionalOnly search repositories that belong to this team ID.
starredByUserIdintegeroptionalOnly search repositories starred by this user ID.
privatebooleanoptionalWhether private repositories accessible to the token should be included.
templatebooleanoptionalWhether template repositories accessible to the token should be included.
archivedbooleanoptionalWhether archived repositories should be included.
modestringoptionalRepository mode filter.
exclusivebooleanoptionalWhen ownerId is set, whether to restrict results to repositories the user owns.
sortstringoptionalSort field used by the repository search endpoint.
orderstringoptionalSort order.
pageintegeroptionalPage number of results to return.
limitintegeroptionalMaximum number of results to return.
GET
gitea_list_repository_issues
List issues in a Gitea repository. Pull requests are filtered out.

/repos/{owner}/{repo}/issues

13 parameters
ParamTypeRequiredDescription
ownerstringrequiredOwner of the repository.
repostringrequiredName of the repository.
statestringoptionalIssue state filter.
labelsarrayoptionalLabel names or IDs used to filter issues.
querystringoptionalSearch string used to filter issues.
milestonesarrayoptionalMilestone names or IDs used to filter issues.
sincestringoptionalTimestamp in ISO 8601 / RFC 3339 format.
beforestringoptionalTimestamp in ISO 8601 / RFC 3339 format.
createdBystringoptionalOnly return issues created by this username.
assignedBystringoptionalOnly return issues assigned to this username.
mentionedBystringoptionalOnly return issues mentioning this username.
pageintegeroptionalPage number of results to return.
limitintegeroptionalMaximum number of results to return.
GET
gitea_get_issue
Get a Gitea issue by repository and issue number.

/repos/{owner}/{repo}/issues/{issueNumber}

3 parameters
ParamTypeRequiredDescription
ownerstringrequiredOwner of the repository.
repostringrequiredName of the repository.
issueNumberintegerrequiredIssue number within the repository.
GET
gitea_list_issue_comments
List comments under a Gitea issue.

/repos/{owner}/{repo}/issues/{issueNumber}/comments

5 parameters
ParamTypeRequiredDescription
ownerstringrequiredOwner of the repository.
repostringrequiredName of the repository.
issueNumberintegerrequiredIssue number within the repository.
sincestringoptionalTimestamp in ISO 8601 / RFC 3339 format.
beforestringoptionalTimestamp in ISO 8601 / RFC 3339 format.
POST
gitea_create_issue_comment
Create a comment on a Gitea issue.

/repos/{owner}/{repo}/issues/{issueNumber}/comments

4 parameters
ParamTypeRequiredDescription
ownerstringrequiredOwner of the repository.
repostringrequiredName of the repository.
issueNumberintegerrequiredIssue number within the repository.
bodystringrequiredComment body.