Skip to main content
Glama

delete_item

Remove articles from the Qiita developer community platform by specifying the article ID to manage content effectively.

Instructions

指定された記事を削除します

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemIdYes記事ID

Implementation Reference

  • The MCP tool handler for 'delete_item'. It validates input with itemIdSchema and executes by calling QiitaApiClient.deleteItem with the itemId.
    delete_item: { schema: itemIdSchema, execute: async ({ itemId }, client) => client.deleteItem(itemId), },
  • The tool definition schema for 'delete_item' provided in the ListTools response, including name, description, and input schema.
    name: 'delete_item', description: '指定された記事を削除します', inputSchema: { type: 'object', properties: { itemId: { type: 'string', description: '記事ID', }, }, required: ['itemId'], }, },
  • Core helper function in QiitaApiClient that authenticates and performs the HTTP DELETE request to the Qiita API endpoint `/items/${itemId}`.
    async deleteItem(itemId: string) { this.assertAuthenticated(); const response = await this.client.delete(`/items/${itemId}`); return response.data; }

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