Skip to content

Instantly share code, notes, and snippets.

@kmahorker
Created February 24, 2025 07:46
Show Gist options
  • Select an option

  • Save kmahorker/b05a41efb4fd728d409046e6ee8c6288 to your computer and use it in GitHub Desktop.

Select an option

Save kmahorker/b05a41efb4fd728d409046e6ee8c6288 to your computer and use it in GitHub Desktop.
// ... existing code ...
"items": {
"type": "object",
"description": "A single update request that modifies the document",
"properties": {
"insertText": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The text to insert"
},
"location": {
"type": "object",
"properties": {
"index": {
"type": "integer",
"description": "The zero-based index where to insert the text"
}
}
}
}
},
"updateParagraphStyle": {
"type": "object",
"properties": {
"range": {
"type": "object",
"properties": {
"startIndex": {
"type": "integer",
"description": "The zero-based start index"
},
"endIndex": {
"type": "integer",
"description": "The zero-based end index"
}
}
},
"paragraphStyle": {
"type": "object",
"properties": {
"namedStyleType": {
"type": "string",
"description": "The named style type (e.g., HEADING_1, HEADING_2, NORMAL_TEXT)"
},
"alignment": {
"type": "string",
"description": "The alignment of the paragraph"
}
}
},
"fields": {
"type": "string",
"description": "The fields to update in the paragraph style"
}
}
},
"createParagraphBullets": {
"type": "object",
"properties": {
"range": {
"type": "object",
"properties": {
"startIndex": {
"type": "integer",
"description": "The zero-based start index"
},
"endIndex": {
"type": "integer",
"description": "The zero-based end index"
}
}
},
"bulletPreset": {
"type": "string",
"description": "The bullet preset type"
}
}
}
}
}
// ... existing code ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment