update_doc_headers_footers
Update headers or footers in a Google Doc with options for default, first page only, or even page types. Supports dry run to preview changes before applying.
Instructions
Updates headers or footers in a Google Doc.
Args: user_google_email: User's Google email address document_id: ID of the document to update section_type: Type of section to update ("header" or "footer") content: Text content for the header/footer header_footer_type: Type of header/footer ("DEFAULT", "FIRST_PAGE_ONLY", "EVEN_PAGE") dry_run: When True (default), return planned mutation without executing it
Returns: str: Confirmation message with update details
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>",
"section_type": "<section_type>",
"content": "<content>"
},
"name": "update_doc_headers_footers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| document_id | Yes | ||
| section_type | Yes | ||
| content | Yes | ||
| header_footer_type | No | DEFAULT | |
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |