add_table
Create and insert structured tables into Word documents by specifying file path, rows, columns, headers, and data for organized content presentation.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cols | Yes | ||
data | No | ||
filePath | Yes | ||
headers | No | ||
rows | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"cols": {
"type": "number"
},
"data": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"filePath": {
"type": "string"
},
"headers": {
"items": {
"type": "string"
},
"type": "array"
},
"rows": {
"type": "number"
}
},
"required": [
"filePath",
"rows",
"cols"
],
"type": "object"
}