Skip to content

Commit ec87c2b

Browse files
authored
Merge pull request #3 from watercrawl/fix/download-action
feat: remove download action from crawl manager
2 parents c0cbe36 + 03b100b commit ec87c2b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tools/crawl-manager.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ const manageCrawl = async (args: CrawlManagerArgs | any, { session }: Context<an
5050

5151
const parameters = z.object({
5252
action: z
53-
.enum(['list', 'get', 'stop', 'download'])
53+
.enum(['list', 'get', 'stop'])
5454
.describe('Action to perform on crawl requests'),
5555
crawlRequestId: z
5656
.string()
5757
.optional()
58-
.describe('UUID of the crawl request (required for get, stop, and download actions)'),
58+
.describe('UUID of the crawl request (required for get, stop actions)'),
5959
page: z
6060
.number()
6161
.optional()
@@ -70,7 +70,7 @@ const parameters = z.object({
7070

7171
export const CrawlManagerTool: Tool<any, ToolParameters> = {
7272
name: 'manage-crawl',
73-
description: 'Manage crawl requests: list, get details, stop, or download results',
73+
description: 'Manage crawl requests: list, get details of single crawl request, stop crawl request',
7474
parameters: parameters,
7575
execute: manageCrawl,
7676
};

0 commit comments

Comments
 (0)