import { z } from 'zod';
import { BaseTool } from '../../base-tool.js';
export class GetReferringSubnetsCount extends BaseTool {
registerTool(server) {
server.registerTool(this.toolName('getReferringSubnetsCount'), {
title: 'Get Referring Subnets Count',
description: 'Data Tool: Returns the number of unique subnets/C-blocks linking to a target.',
inputSchema: {
target: z.string().describe('Aim of the request: root domain, host, or URL.'),
mode: z.enum(['domain', 'host', 'url']).optional().default('host'),
},
}, async (params) => this.makeGetRequest('/v1/backlinks/referring-subnets/count', params));
}
}
//# sourceMappingURL=backlinks-referring-subnets-count.js.map