spiderfoot_scan_data_unique
Fetch unique scan event results from SpiderFoot OSINT reconnaissance to analyze specific data types and identify distinct findings.
Instructions
Fetch unique scan event results.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eventType | No | ||
| id | Yes |
Implementation Reference
- src/index.ts:88-92 (registration)Registration of the 'spiderfoot_scan_data_unique' MCP tool, including input schema and thin handler that delegates to SpiderfootClient.scanEventResultsUniqueserver.registerTool( 'spiderfoot_scan_data_unique', { title: 'Scan Data Unique', description: 'Fetch unique scan event results.', inputSchema: { id: z.string(), eventType: z.string().optional() } }, async ({ id, eventType }) => ({ content: [{ type: 'text', text: JSON.stringify(await sf.scanEventResultsUnique({ id, eventType })) }] }) );
- src/index-http.ts:72-76 (registration)Registration of the 'spiderfoot_scan_data_unique' MCP tool for HTTP transport, including input schema and thin handler that delegates to SpiderfootClient.scanEventResultsUniqueserver.registerTool( 'spiderfoot_scan_data_unique', { title: 'Scan Data Unique', description: 'Fetch unique scan event results.', inputSchema: { id: z.string(), eventType: z.string().optional() } }, async ({ id, eventType }) => ({ content: [{ type: 'text', text: JSON.stringify(await sf.scanEventResultsUnique({ id, eventType })) }] }) );
- src/spiderfootClient.ts:68-74 (handler)Core handler logic in SpiderfootClient that performs HTTP POST to the Spiderfoot server endpoint '/scaneventresultsunique' to fetch unique scan event resultsasync scanEventResultsUnique(args: { id: string; eventType?: string }) { const { data } = await this.http.post('/scaneventresultsunique', { id: args.id, eventType: args.eventType ?? 'ALL', }); return data; }
- src/index.ts:90-90 (schema)Input schema for the tool: requires scan id, optional eventType{ title: 'Scan Data Unique', description: 'Fetch unique scan event results.', inputSchema: { id: z.string(), eventType: z.string().optional() } },
- src/index-http.ts:74-74 (schema)Input schema for the tool (HTTP version): requires scan id, optional eventType{ title: 'Scan Data Unique', description: 'Fetch unique scan event results.', inputSchema: { id: z.string(), eventType: z.string().optional() } },