fofa_search
Execute exact FOFA queries to retrieve matching assets and control results with pagination, record limits, field selection, and optional cost inspection.
Instructions
Fetch one exact query. Omitting both caps returns one page of size; read total for the population.
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": {
"query": "<query>"
},
"name": "fofa_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | ||
| size | No | ||
| query | Yes | ||
| fields | No | ||
| max_pages | No | ||
| max_records | No | ||
| observe_cost | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| query | Yes | ||
| total | No | ||
| usage | No | ||
| fields | Yes | ||
| records | Yes | ||
| summary | Yes | ||
| consumed | No | ||
| page_size | No | ||
| max_records | No | ||
| next_cursor | No | ||
| duplicates_removed | No |