get_workspace_team
Retrieve all team members from the Lindo AI workspace.
Instructions
Get workspace team members.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server/index.js:173-182 (registration)Tool registration for 'get_workspace_team' using server.tool() method with metadata.
server.tool( "get_workspace_team", "Get workspace team members.", {}, { title: "Get Workspace Team", readOnlyHint: true, destructiveHint: false, openWorldHint: false }, async () => { const data = await apiCall("/v1/workspace/team", "GET"); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }; } ); - server/index.js:178-181 (handler)Handler function that calls apiCall to GET /v1/workspace/team and returns the result as JSON text.
async () => { const data = await apiCall("/v1/workspace/team", "GET"); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }; } - server/index.js:112-123 (helper)Helper function apiCall that makes authenticated HTTP requests to the backend API.
async function apiCall(path, method, body) { const url = `${BASE_URL}${path}`; const res = await fetch(url, { method, headers: { Authorization: `Bearer ${API_KEY}`, "Content-Type": "application/json", }, ...(body ? { body: JSON.stringify(body) } : {}), }); return res.json(); } - server/index.js:176-176 (schema)Empty schema object (no parameters) for get_workspace_team tool.
{},