unfollow_tag
Remove a tag from your followed tags list on Qiita to stop receiving updates and filter your content feed.
Instructions
指定されたタグのフォローを解除します
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tagId | Yes | タグID |
Implementation Reference
- src/tools/handlers.ts:145-148 (handler)The handler definition for the 'unfollow_tag' tool. It uses Zod schema for input validation (tagId) and executes by calling client.unfollowTag(tagId).unfollow_tag: { schema: tagIdSchema, execute: async ({ tagId }, client) => client.unfollowTag(tagId), },
- src/tools/definitions.ts:436-449 (schema)The MCP Tool definition including name, description, and inputSchema for 'unfollow_tag', which requires a 'tagId' string.{ name: 'unfollow_tag', description: '指定されたタグのフォローを解除します', inputSchema: { type: 'object', properties: { tagId: { type: 'string', description: 'タグID', }, }, required: ['tagId'], }, },
- src/qiitaApiClient.ts:162-166 (helper)The QiitaApiClient method implementing the unfollow logic: asserts authentication, sends DELETE to /tags/{tagId}/following, returns success.async unfollowTag(tagId: string) { this.assertAuthenticated(); await this.client.delete(`/tags/${tagId}/following`); return { success: true }; }