replace_topics
Replace all topics on a Gitea repository with a specified list. Removes any topics not included in the new list; pass an empty array to clear all topics.
Instructions
REPLACE a repository's ENTIRE topic set. topics is the full list of topic names that should remain after the call — every existing topic not listed is removed. Pass an empty array to clear all topics. Topic names: lowercase letters, digits, and hyphens, starting with a letter/digit. Read current topics with list_topics first if any must survive; confirm with the user before replacing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository name (defaults to GITEA_DEFAULT_REPO) | |
| owner | No | Repository owner (defaults to GITEA_DEFAULT_OWNER) | |
| topics | Yes | Full list of topic names to set (REPLACES the entire set). Lowercase letters, digits, and hyphens; start with a letter/digit. |