read_tables
Extract table data from Word documents. Returns JSON formatted content for specified or all tables.
Instructions
读取 Word 文档中的表格内容。
Args: file_path: 文档路径 table_index: 指定读取第几个表格 (0-based),不指定则读取所有表格
Returns: JSON 格式的表格数据。
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": {
"file_path": "<file_path>"
},
"name": "read_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| table_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |