Ask a numeric question about a document
ask_documentChecks numerical answers in supplied document text and returns a job ID for retrieving results; unverified numbers remain null.
Instructions
Check numerical answers inside supplied document text. Returns a job ID; the result is read with get_ask_result. It does not search for external source URLs or identify the original publisher. Costs 5 credits. Unverified numbers remain null.
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": {
"question": "<question>",
"documentText": "<documentText>"
},
"name": "ask_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topK | No | ||
| question | Yes | ||
| documentName | No | ||
| documentText | Yes | ||
| hasTextLayer | No |