spiderfoot_scan_info
Retrieve metadata and configuration details for a specific SpiderFoot OSINT scan using its scan ID to analyze reconnaissance data.
Instructions
Retrieve scan metadata/config for a scan ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- src/index.ts:63-67 (registration)Registration of the 'spiderfoot_scan_info' tool, including inline schema { id: z.string() }, handler that destructures 'id' and returns JSON of sf.scanInfo(id).server.registerTool( 'spiderfoot_scan_info', { title: 'Scan Info', description: 'Retrieve scan metadata/config for a scan ID.', inputSchema: { id: z.string() } }, async ({ id }) => ({ content: [{ type: 'text', text: JSON.stringify(await sf.scanInfo(id)) }] }) );
- src/spiderfootClient.ts:44-47 (helper)Core implementation of scanInfo: performs HTTP GET to SpiderFoot API endpoint '/scanopts?id={id}' and returns the data response.async scanInfo(id: string) { const { data } = await this.http.get('/scanopts', { params: { id } }); return data; }
- src/index-http.ts:47-51 (registration)HTTP variant registration of the 'spiderfoot_scan_info' tool, identical to stdio version, with inline schema and handler.server.registerTool( 'spiderfoot_scan_info', { title: 'Scan Info', description: 'Retrieve scan metadata/config for a scan ID.', inputSchema: { id: z.string() } }, async ({ id }) => ({ content: [{ type: 'text', text: JSON.stringify(await sf.scanInfo(id)) }] }) );