list_clients
Retrieve a list of all clients in your Lindo AI workspace.
Instructions
List all clients in the workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server/index.js:232-241 (handler)The `list_clients` tool handler. Registered via `server.tool()` with name 'list_clients'. It takes no parameters, calls apiCall('GET', '/v1/workspace/client/list') and returns the JSON response.
server.tool( "list_clients", "List all clients in the workspace.", {}, { title: "List Clients", readOnlyHint: true, destructiveHint: false, openWorldHint: false }, async () => { const data = await apiCall("/v1/workspace/client/list", "GET"); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }; } ); - server/index.js:232-241 (registration)Registration of the 'list_clients' tool using `server.tool()`. The MCP server registers the tool name, description, empty schema, metadata (title 'List Clients', readOnlyHint: true), and the async handler function.
server.tool( "list_clients", "List all clients in the workspace.", {}, { title: "List Clients", readOnlyHint: true, destructiveHint: false, openWorldHint: false }, async () => { const data = await apiCall("/v1/workspace/client/list", "GET"); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }; } ); - server/index.js:233-233 (schema)The input schema for list_clients is an empty object `{}`, meaning it accepts no parameters.
"list_clients",