Google Docs

gdoc_update_text_style

Update text style (bold, italic, font, color, etc.) for a range of text. Only specified fields are changed.

Remote node2flow/google-docs

Other tools also called gdoc_update_text_style? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "bold": {
      "type": "boolean",
      "description": "Set text to bold"
    },
    "italic": {
      "type": "boolean",
      "description": "Set text to italic"
    },
    "link_url": {
      "type": "string",
      "description": "URL to link the text to"
    },
    "end_index": {
      "type": "number",
      "description": "End index of the text range (exclusive)"
    },
    "font_size": {
      "type": "number",
      "description": "Font size in points (e.g., 12, 14, 18)"
    },
    "underline": {
      "type": "boolean",
      "description": "Set text to underline"
    },
    "segment_id": {
      "type": "string",
      "description": "Segment ID (header/footer ID). Omit for body content"
    },
    "small_caps": {
      "type": "boolean",
      "description": "Set text to small caps"
    },
    "document_id": {
      "type": "string",
      "description": "The document ID"
    },
    "font_family": {
      "type": "string",
      "description": "Font family name (e.g., \"Arial\", \"Times New Roman\")"
    },
    "start_index": {
      "type": "number",
      "description": "Start index of the text range (inclusive)"
    },
    "strikethrough": {
      "type": "boolean",
      "description": "Set text to strikethrough"
    },
    "baseline_offset": {
      "type": "string",
      "description": "Baseline offset: NONE, SUPERSCRIPT, SUBSCRIPT"
    },
    "background_color_red": {
      "type": "number",
      "description": "Text background color red component (0-1)"
    },
    "foreground_color_red": {
      "type": "number",
      "description": "Text color red component (0-1)"
    },
    "background_color_blue": {
      "type": "number",
      "description": "Text background color blue component (0-1)"
    },
    "foreground_color_blue": {
      "type": "number",
      "description": "Text color blue component (0-1)"
    },
    "background_color_green": {
      "type": "number",
      "description": "Text background color green component (0-1)"
    },
    "foreground_color_green": {
      "type": "number",
      "description": "Text color green component (0-1)"
    }
  }
}