Answer Question About Text
answer_questionAnswer a question using ONLY the supplied text; returns the supporting sentence(s) with character offsets.
Replies found:false rather than guessing when the answer isn't present in the text.
Args: text: The text/document to answer from. question: The question to answer.
Returns: dict with keys: answer (str|null), found (bool), supporting_spans (list of {text, start, end}).
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": {
"text": "<text>",
"question": "<question>"
},
"name": "answer_question"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text/document to answer from | |
| question | Yes | The question to answer |