Skip to main content
Glama

unstock_item

Remove an article from your Qiita stock list by providing its article ID to manage your saved content.

Instructions

指定された記事のストックを解除します

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemIdYes記事ID

Implementation Reference

  • Handler definition for the 'unstock_item' tool. It validates input using itemIdSchema and delegates execution to the QiitaApiClient's unstockItem method.
    unstock_item: { schema: itemIdSchema, execute: async ({ itemId }, client) => client.unstockItem(itemId), },
  • MCP tool schema definition for 'unstock_item', including name, description, and input schema requiring 'itemId'.
    { name: 'unstock_item', description: '指定された記事のストックを解除します', inputSchema: { type: 'object', properties: { itemId: { type: 'string', description: '記事ID', }, }, required: ['itemId'], }, },
  • Core helper method in QiitaApiClient that authenticates and sends DELETE request to Qiita API endpoint to unstock the specified item.
    async unstockItem(itemId: string) { this.assertAuthenticated(); await this.client.delete(`/items/${itemId}/stock`); return { success: true }; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Selenium39/mcp-server-qiita'

If you have feedback or need assistance with the MCP directory API, please join our Discord server