docs_apply_style
Apply heading or paragraph styles to specific text ranges in Google Docs using character indices.
Instructions
Apply a heading or paragraph style to a text range in a Google Doc by character indices.
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": {
"account": "<account>",
"document_id": "<document_id>",
"start_index": "<start_index>",
"end_index": "<end_index>",
"style": "<style>"
},
"name": "docs_apply_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | Yes | Style to apply. | |
| account | Yes | Account id. | |
| end_index | Yes | End character index. | |
| document_id | Yes | Google Docs document ID. | |
| start_index | Yes | Start character index (from docs_get response). |