create_footer
Add a page footer to a Google Doc and optionally insert plain text; use the returned footerId to add formatted content later.
Instructions
Add a page footer to a Google Doc.
Creates a footer section and optionally inserts plain text content into it. For rich formatting, use insert_doc_text with the returned footerId as segmentId after calling this tool.
Args: doc_id: The Google Doc file ID. footer_type: "DEFAULT" (all pages, default) or "FIRST_PAGE_FOOTER" (applies only to the first page — requires useFirstPageHeaderFooter to be set on the document section, which the Docs UI handles automatically). content: Optional plain text content to insert into the footer.
Returns: Confirmation with docId and footerId. Use footerId as the segmentId in subsequent insert_doc_text calls to add formatted content.
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": "create_footer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| content | No | ||
| footer_type | No | DEFAULT |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||