users.ts•618 B
import { Tool } from "@modelcontextprotocol/sdk/types.js";
export interface GetUsersArgs {
cursor?: string;
limit?: number;
}
export const getUsersTool: Tool = {
name: "slack_get_users",
description:
"Get a list of all users in the workspace with basic information",
inputSchema: {
type: "object",
properties: {
cursor: {
type: "string",
description: "Pagination cursor for next page of results",
},
limit: {
type: "number",
description: "Maximum number of users to return (default 100, max 200)",
default: 100,
},
},
},
};