word_read_paragraph
Get the content and metadata of a single paragraph from a Word document by specifying the file path and zero-based paragraph index.
Instructions
Return a single paragraph's content and metadata.
Args:
path: Path to an existing .docx.
index: Zero-based paragraph index.
folder: Optional base folder for relative paths.
Raises:
OfficeMCPError: ERR_INVALID_PARAMS if index is negative
or out of range, ERR_FILE_NOT_FOUND if the file is
missing, ERR_UNSUPPORTED_FMT for non-.docx
extensions.
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": {
"path": "<path>",
"index": "<index>"
},
"name": "word_read_paragraph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| index | Yes | ||
| folder | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||