count_documents
Count matching documents in FormKiQ search results, returning a lower-bound count when results exceed 10,000 or a processing budget. Use it to gauge result volume without treating capped counts as totals.
Instructions
Count matching documents using DocumentSearch. Counts stop at 10,000 or a processing budget. countIsExact=false means the count is a lower bound; do not interpret it as the total or aggregate partial counts.
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": {
"body": "<body>"
},
"name": "count_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| siteId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||