Skip to content

applyTextStyle and formatMatchingText missing tabId parameter for multi-tab document support #34

@gauravsett

Description

@gauravsett

Thanks for making this! Ran into an issue formatting with multiple tabs.

Problem

The applyTextStyle and formatMatchingText tools do not support the tabId parameter, causing them to always operate on the first tab of a document. This is inconsistent with other tools that properly support multi-tab documents.

Tools with tabId support (working correctly)

  • readGoogleDoc
  • appendToGoogleDoc
  • insertText
  • deleteRange

Tools missing tabId support

  • applyTextStyle
  • formatMatchingText

Steps to Reproduce

  1. Open a Google Doc with multiple tabs
  2. Attempt to apply formatting (e.g., italic, bold) to text in a non-first tab using applyTextStyle with index range
  3. The formatting is applied to the first tab at those indices instead of the target tab

Expected Behavior

applyTextStyle and formatMatchingText should accept an optional tabId parameter (like other tools) to target specific tabs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions