Count subdomains
count_subdomainsReturn only the total number of distinct subdomains known for a domain — no list. Cheap and low-token. Use when the user asks "how many subdomains" or you only need the size of the attack surface. Count includes historic subdomains that may no longer be live. It is a point-in-time figure that changes over time, so treat it as current-as-of-query, not a fixed value.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>"
},
"name": "count_subdomains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Root (registrable) domain as a bare hostname, e.g. "example.com". No scheme, path, port, or leading "www." — these are stripped. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Total distinct subdomains known. | |
| domain | Yes |