yuque_update_repo
Update repository metadata in Yuque knowledge base to modify name, slug, description, visibility, or namespace settings.
Instructions
Update repository metadata.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoId | No | Yuque repository ID. | |
| repoNamespace | No | Yuque repository namespace. | |
| name | No | Repository name. | |
| slug | No | Repository slug. | |
| description | No | Repository description. | |
| isPublic | No | Whether the repository is public. |
Implementation Reference
- src/tools.js:453-453 (handler)Handler for the yuque_update_repo tool, which calls the client's updateRepo method.
yuque_update_repo: async (args, client) => jsonText(await client.updateRepo(args)), - src/tools.js:288-301 (schema)Schema definition for the yuque_update_repo tool.
{ name: "yuque_update_repo", description: "Update repository metadata.", inputSchema: { type: "object", properties: { ...repoRefSchema(), name: schemaProperty("string", "Repository name."), slug: schemaProperty("string", "Repository slug."), description: schemaProperty("string", "Repository description."), isPublic: schemaProperty("boolean", "Whether the repository is public.") } } },