FOFA Continuous Search
fofa_search_nextSearch FOFA assets and paginate through large result sets using a next token for continuous retrieval.
Instructions
Search FOFA assets with /api/v1/search/next. Use returned next value for stable continuous pagination over a large result set.
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_next"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Set true to search all data instead of one-year data. | |
| size | No | Results per page. | |
| query | Yes | FOFA query to encode as qbase64. | |
| fields | No | Comma-separated return fields. | host,ip,port,domain,title |
| r_type | No | Response type. Use "json" for JSON responses. | json |
| next_id | No | Next page token returned by the previous response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||