docs_formatText
Format text ranges in Google Docs with styles like bold, italic, headings, and more by specifying start and end indices.
Instructions
Applies formatting (bold, italic, headings, etc.) to text ranges in a Google Doc.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"documentId": "<documentId>",
"formats": "<formats>"
},
"name": "docs_formatText"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab ID. | |
| formats | Yes | Formatting instructions. | |
| documentId | Yes | Document ID or URL. |