Skip to main content
Glama

anytype_get_space

Retrieve a specific Anytype workspace by its unique ID to access and manage its content through the Anytype API.

Instructions

Obtiene un espacio específico por su ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
space_idYesID del espacio

Implementation Reference

  • The main handler function that executes the tool logic: extracts space_id from arguments, makes API request to /v1/spaces/{space_id}, and returns the JSON response.
    export async function handleGetSpace(args: any) { const { space_id } = args; const response = await makeRequest(`/v1/spaces/${space_id}`); return { content: [{ type: 'text', text: JSON.stringify(response, null, 2) }] }; }
  • The tool schema definition including name, description, and inputSchema requiring 'space_id'.
    { name: 'anytype_get_space', description: 'Obtiene un espacio específico por su ID', inputSchema: { type: 'object', properties: { space_id: { type: 'string', description: 'ID del espacio' } }, required: ['space_id'], }, },
  • src/index.ts:110-111 (registration)
    The switch case registration in the main CallToolRequestHandler that dispatches 'anytype_get_space' calls to the handleGetSpace function.
    case 'anytype_get_space': return await handleGetSpace(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