Skip to main content
Glama

apply_paragraph_style

Apply paragraph-level formatting in Google Docs by specifying alignment, spacing, headings, and indentation using range, text search, or index targeting.

Instructions

Apply paragraph-level formatting (alignment, spacing, headings, etc.).

Target can be specified by:

  • Range: Provide start_index and end_index

  • Text search: Provide text_to_find (styles the containing paragraph)

  • Index: Provide index_within_paragraph

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_idYesThe ID of the Google Document
alignmentNo
indent_startNo
indent_endNo
space_aboveNo
space_belowNo
named_style_typeNo
keep_with_nextNo
start_indexNo
end_indexNo
text_to_findNo
match_instanceNoWhich instance of text to target
index_within_paragraphNo

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