text_to_table
Convert selected text to a table in HWP documents by setting the delimiter (tab, comma, space) and number of columns. Turn plain text into an organized table with precise structure.
Instructions
Convert selected text to a table.
Args: doc_id: Document ID from open_document delimiter: Delimiter to detect ("tab", "comma", "space") num_cols: Number of columns
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": {
"doc_id": "<doc_id>"
},
"name": "text_to_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| num_cols | No | ||
| delimiter | No | tab |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||