Google Docs
GOOGLEDOCS_UPDATE_DOCUMENT_STYLE
Tool to update the overall document style, such as page size, margins, and default text direction. Use when you need to modify the global style settings of a Google Document.
Remote googledocs
Other tools also called GOOGLEDOCS_UPDATE_DOCUMENT_STYLE?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"fields": {
"type": "string",
"title": "Fields",
"description": "A comma-separated list of fields to update. Use '*' to update all fields in document_style. For example: \"pageSize,marginTop,marginBottom\"."
},
"tab_id": {
"type": "string",
"title": "Tab Id",
"default": null,
"nullable": true,
"description": "The ID of the tab to update the style for. If not provided, the first tab is used."
},
"document_id": {
"type": "string",
"title": "Document Id",
"description": "The ID of the document to update."
},
"document_style": {
"type": "object",
"title": "Document Style",
"properties": {
"pageSize": {
"type": "object",
"title": "Page Size",
"default": null,
"nullable": true,
"description": "The size of a page in the document.",
"additionalProperties": true
},
"marginTop": {
"type": "object",
"title": "Margin Top",
"default": null,
"nullable": true,
"description": "The top margin of the page.",
"additionalProperties": true
},
"background": {
"type": "object",
"title": "Background",
"default": null,
"examples": [
{
"color": {
"rgbColor": {
"red": 1,
"blue": 0.9,
"green": 1
}
}
}
],
"nullable": true,
"description": "The background of the document. The background fill must be specified as a solid fill with nested OptionalColor schema. Structure: {'color': {'rgbColor': {'red': float, 'green': float, 'blue': float}}}. RGB values should be between 0.0 and 1.0.",
"additionalProperties": true
},
"marginLeft": {
"type": "object",
"title": "Margin Left",
"default": null,
"nullable": true,
"description": "The left margin of the page.",
"additionalProperties": true
},
"marginRight": {
"type": "object",
"title": "Margin Right",
"default": null,
"nullable": true,
"description": "The right margin of the page.",
"additionalProperties": true
},
"marginBottom": {
"type": "object",
"title": "Margin Bottom",
"default": null,
"nullable": true,
"description": "The bottom margin of the page.",
"additionalProperties": true
},
"marginFooter": {
"type": "object",
"title": "Margin Footer",
"default": null,
"nullable": true,
"description": "The footer margin of the page (distance from bottom of page to footer content).",
"additionalProperties": true
},
"marginHeader": {
"type": "object",
"title": "Margin Header",
"default": null,
"nullable": true,
"description": "The header margin of the page (distance from top of page to header content).",
"additionalProperties": true
},
"defaultFooterId": {
"type": "string",
"title": "Default Footer Id",
"default": null,
"nullable": true,
"description": "The ID of the default footer. If unset, the document inherits the default footer from the parent document. This property is read-only."
},
"defaultHeaderId": {
"type": "string",
"title": "Default Header Id",
"default": null,
"nullable": true,
"description": "The ID of the default header. If unset, the document inherits the default header from the parent document. This property is read-only."
},
"oddPageFooterId": {
"type": "string",
"title": "Odd Page Footer Id",
"default": null,
"nullable": true,
"description": "The ID of the footer for odd pages. If unset, the document inherits the odd page footer from the parent document. This property is read-only."
},
"oddPageHeaderId": {
"type": "string",
"title": "Odd Page Header Id",
"default": null,
"nullable": true,
"description": "The ID of the header for odd pages. If unset, the document inherits the odd page header from the parent document. This property is read-only."
},
"pageNumberStart": {
"type": "integer",
"title": "Page Number Start",
"default": null,
"nullable": true,
"description": "The page number from which to start counting the number of pages."
},
"evenPageFooterId": {
"type": "string",
"title": "Even Page Footer Id",
"default": null,
"nullable": true,
"description": "The ID of the footer for even pages. If unset, the document inherits the even page footer from the parent document. This property is read-only."
},
"evenPageHeaderId": {
"type": "string",
"title": "Even Page Header Id",
"default": null,
"nullable": true,
"description": "The ID of the header for even pages. If unset, the document inherits the even page header from the parent document. This property is read-only."
},
"useEvenPageHeaderFooter": {
"type": "boolean",
"title": "Use Even Page Header Footer",
"default": null,
"nullable": true,
"description": "Indicates whether to use the even page header / footer, used in conjunction with use_first_page_header_footer."
},
"useFirstPageHeaderFooter": {
"type": "boolean",
"title": "Use First Page Header Footer",
"default": null,
"nullable": true,
"description": "Indicates whether to use the first page header / footer."
}
},
"description": "The DocumentStyle object with the new style settings.",
"additionalProperties": true
}
}
}