Skip to main content
Glama

apply_text_style

Apply character-level formatting to text in Google Docs by specifying a range or searching for text. Format options include bold, italic, color, font, and links.

Instructions

Apply character-level formatting (bold, color, font, etc.) to text.

Target can be specified either by:

  • Range: Provide start_index and end_index

  • Text search: Provide text_to_find and optionally match_instance

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_idYesThe ID of the Google Document
boldNo
italicNo
underlineNo
strikethroughNo
font_sizeNo
font_familyNo
foreground_colorNo
background_colorNo
link_urlNo
start_indexNo
end_indexNo
text_to_findNo
match_instanceNoWhich instance of text to target (1st, 2nd, etc.)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nickweedon/google-docs-mcp-docker'

If you have feedback or need assistance with the MCP directory API, please join our Discord server