Resume paused scrapes from their cursor
This commit is contained in:
@@ -836,6 +836,15 @@ function buildServer(): McpServer {
|
||||
async ({ scrapeId }) => jsonText(media.getScrape(scrapeId))
|
||||
);
|
||||
|
||||
server.registerTool(
|
||||
"resume_media_scrape",
|
||||
{
|
||||
description: "Continue a paused media scrape from its cursor.",
|
||||
inputSchema: { scrapeId: z.string().describe("Scrape ID") }
|
||||
},
|
||||
async ({ scrapeId }) => jsonText(await media.resumeScrape(scrapeId))
|
||||
);
|
||||
|
||||
server.registerTool(
|
||||
"stop_media_scrape",
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user