allstats_deep_search
Search full-text within BPS PDF publications using a publication ID and query. Get matching pages with text excerpts—feature not available via WebAPI.
Instructions
Full-text search inside BPS PDF publications. Returns matching pages with text excerpts. Get publication_id from allstats_search results (deep_search_id field). Unique feature — not available via WebAPI. No API key required.
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>",
"publication_id": "<publication_id>"
},
"name": "allstats_deep_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Results page (not PDF page) | |
| query | Yes | Keyword to search within the publication | |
| domain | No | MFD region code | 0000 |
| publication_id | Yes | Publication ID (24-character hex) from the BPS publication URL or from the deep_search_id field in allstats_search results |