Insert Doc Elements
insert_doc_elementsAdd structural elements like tables, lists, or page breaks to a Google Doc at a chosen index. Provide element type, position, and optional details to organize content.
Instructions
Inserts structural elements like tables, lists, or page breaks into a Google Doc.
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": {
"user_google_email": "<user_google_email>",
"document_id": "<document_id>",
"element_type": "<element_type>",
"index": "<index>"
},
"name": "insert_doc_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | Number of rows for table (required for table) | |
| text | No | Initial text content for list items | |
| index | Yes | Position to insert element (0-based) | |
| columns | No | Number of columns for table (required for table) | |
| list_type | No | Type of list ("UNORDERED", "ORDERED") (required for list) | |
| document_id | Yes | ID of the document to update | |
| element_type | Yes | Type of element to insert ("table", "list", "page_break") | |
| user_google_email | Yes | User's Google email address |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |