export const TOOLS = {
listChannels: {
name: "listChannels",
description: "List all public channels in the workspace",
inputSchema: {
type: "object",
properties: {
limit: { type: "number", description: "Max channels to return" },
},
},
outputSchema: {
type: "array",
items: {
type: "object",
properties: {
id: { type: "string" },
name: { type: "string" },
},
},
},
mutation: false,
},
sendMessage: {
name: "sendMessage",
description: "Send a message to a Slack channel",
inputSchema: {
type: "object",
properties: {
channel: { type: "string", description: "Channel ID" },
text: { type: "string", description: "Message text" },
},
required: ["channel", "text"],
},
outputSchema: {
type: "object",
properties: {
ok: { type: "boolean" },
ts: { type: "string" },
},
},
mutation: true,
},
} as const;