Skip to main content
Glama

anytype_delete_type

Remove an object type from an Anytype workspace by specifying the space and type identifiers.

Instructions

Elimina un tipo de objeto

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
space_idYesID del espacio
type_idYesID del tipo

Implementation Reference

  • The main handler function that executes the tool by making a DELETE request to the Anytype API endpoint for deleting a type.
    export async function handleDeleteType(args: any) { const { space_id, type_id } = args; const response = await makeRequest(`/v1/spaces/${space_id}/types/${type_id}`, { method: 'DELETE', }); return { content: [{ type: 'text', text: JSON.stringify(response, null, 2) }] }; }
  • Defines the tool schema including name, description, and input validation requiring space_id and type_id.
    { name: 'anytype_delete_type', description: 'Elimina un tipo de objeto', inputSchema: { type: 'object', properties: { space_id: { type: 'string', description: 'ID del espacio' }, type_id: { type: 'string', description: 'ID del tipo' }, }, required: ['space_id', 'type_id'], }, },
  • src/index.ts:156-157 (registration)
    Registers the handler in the main tool dispatcher switch statement.
    case 'anytype_delete_type': return await handleDeleteType(args);

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/cryptonahue/mcp-anytype'

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