get_body_text
Get the full accepted-view text from a Word document, including hyperlinks and with footnotes separated, returned as JSON.
Instructions
Return the full accepted-view text of the document.
Accepted view: w:ins text included, w:del text excluded. Includes text inside w:hyperlink runs. Paragraphs are joined by newline. Footnote text is returned separately.
Returns JSON: {"body": str, "footnotes": str}
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_body_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_handle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |