docs_set_alignment
Set paragraph alignment for a text range in a Google Doc, choosing from start, center, end, or justified, using document ID and index positions.
Instructions
Set paragraph alignment for a text range. alignment: START, CENTER, END, JUSTIFIED.
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": {
"document_id": "<document_id>",
"start_index": "<start_index>",
"end_index": "<end_index>"
},
"name": "docs_set_alignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alignment | No | START | |
| end_index | Yes | ||
| document_id | Yes | ||
| start_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |