Google Docs
GOOGLEDOCS_DELETE_CONTENT_RANGE
Tool to delete a range of content from a Google Document. Use when you need to remove a specific portion of text or other structural elements within a document.
Remote googledocs
Other tools also called GOOGLEDOCS_DELETE_CONTENT_RANGE?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"range": {
"type": "object",
"title": "Range",
"properties": {
"tabId": {
"type": "string",
"title": "Tab Id",
"default": null,
"examples": [
"t.abcdef123456"
],
"nullable": true,
"description": "The ID of the tab the range is in. When omitted, the request is applied to the first tab. In a document with a single tab, if provided, it must match the singular tab's ID; if omitted, it applies to the singular tab. In a multi-tab document, if provided, it applies to the specified tab; if omitted, it applies to the first tab."
},
"endIndex": {
"type": "integer",
"title": "End Index",
"default": null,
"examples": [
200
],
"nullable": true,
"description": "The zero-based end index of the range, in UTF-16 code units, relative to the beginning of the segment."
},
"segmentId": {
"type": "string",
"title": "Segment Id",
"default": null,
"examples": [
"h.1a2b3c4d5e6f",
""
],
"nullable": true,
"description": "The ID of the header, footer, or footnote the range is in. An empty segment ID or omitting this field signifies the document's body."
},
"startIndex": {
"type": "integer",
"title": "Start Index",
"default": null,
"examples": [
100
],
"nullable": true,
"description": "The zero-based start index of the range, in UTF-16 code units, relative to the beginning of the segment."
}
},
"description": "The range of content to delete. Deleting text across paragraph boundaries may merge paragraphs and affect styles. Certain deletions can invalidate document structure (e.g., part of a surrogate pair, last newline of critical elements, incomplete deletion of tables/equations).",
"additionalProperties": false
},
"document_id": {
"type": "string",
"title": "Document Id",
"examples": [
"1aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789"
],
"description": "The ID of the document from which to delete content. This ID can be found in the URL of the Google Doc."
}
}
}