anytype_get_member
Retrieve a specific member's details from an Anytype space using their member ID and space ID.
Instructions
Obtiene un miembro específico
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space_id | Yes | ID del espacio | |
| member_id | Yes | ID del miembro |
Implementation Reference
- src/handlers/spaces.ts:109-113 (handler)Handler function that extracts space_id and member_id from arguments, makes API request to /v1/spaces/{space_id}/members/{member_id}, and returns the JSON response as text content.export async function handleGetMember(args: any) { const { space_id, member_id } = args; const response = await makeRequest(`/v1/spaces/${space_id}/members/${member_id}`); return { content: [{ type: 'text', text: JSON.stringify(response, null, 2) }] }; }
- src/tools/spaces.ts:64-75 (schema)Tool schema definition including name, description, and input schema requiring space_id and member_id.name: 'anytype_get_member', description: 'Obtiene un miembro específico', inputSchema: { type: 'object', properties: { space_id: { type: 'string', description: 'ID del espacio' }, member_id: { type: 'string', description: 'ID del miembro' }, }, required: ['space_id', 'member_id'], }, }, ];
- src/index.ts:118-119 (registration)Switch case in the main tool dispatcher that routes 'anytype_get_member' calls to the handleGetMember handler.case 'anytype_get_member': return await handleGetMember(args);