Live-verify the puppet DM path and expose the backend choice
This commit is contained in:
@@ -770,11 +770,15 @@ function buildServer(): McpServer {
|
||||
.enum(["links", "download"])
|
||||
.optional()
|
||||
.describe("links indexes URLs (default); download fetches attachment bytes"),
|
||||
backend: z
|
||||
.enum(["auto", "slopbot", "puppet"])
|
||||
.optional()
|
||||
.describe("auto (default) picks slopbot for its guilds, the client otherwise"),
|
||||
confirm: z.boolean().optional().describe("Accept the near-limit warning")
|
||||
}
|
||||
},
|
||||
async ({ channelId, guildId, mode, confirm }) =>
|
||||
jsonText(await media.startScrape({ channelId, guildId: guildId ?? null, mode, confirm }))
|
||||
async ({ channelId, guildId, mode, backend, confirm }) =>
|
||||
jsonText(await media.startScrape({ channelId, guildId: guildId ?? null, mode, backend, confirm }))
|
||||
);
|
||||
|
||||
server.registerTool(
|
||||
|
||||
Reference in New Issue
Block a user