Skip to content

Commit 723e4c1

Browse files
committed
restore comment
1 parent c4ec6b8 commit 723e4c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tools/actor.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Client } from '@modelcontextprotocol/sdk/client/index.js';
22
import { Ajv } from 'ajv';
3-
import { type ActorCallOptions, type ActorRun, ApifyApiError, type Dataset, type PaginatedList } from 'apify-client';
3+
import { type ActorCallOptions, type ActorRun, type Dataset, type PaginatedList } from 'apify-client';
44
import { z } from 'zod';
55
import zodToJsonSchema from 'zod-to-json-schema';
66

@@ -250,6 +250,7 @@ export const getActor: ToolEntry = {
250250
return { content: [{ type: 'text', text: 'Actor ID is required.' }] };
251251
}
252252
const client = new ApifyClient({ token: apifyToken });
253+
// Get Actor - contains a lot of irrelevant information
253254
const actor = await client.actor(actorId).get();
254255
if (!actor) {
255256
return { content: [{ type: 'text', text: `Actor '${actorId}' not found.` }] };

0 commit comments

Comments
 (0)