Google Docs
GOOGLEDOCS_INSERT_INLINE_IMAGE
Tool to insert an image from a given URI at a specified location in a Google Document as an inline image. Use when you need to add an image to a document programmatically.
Remote googledocs
Other tools also called GOOGLEDOCS_INSERT_INLINE_IMAGE?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"uri": {
"type": "string",
"title": "Uri",
"examples": [
"https://www.example.com/image.png"
],
"description": "The URI of the image. Must be a publicly accessible direct image URL (no redirects or viewer links like Google Drive preview pages). Images must be less than 50MB, not exceed 25 megapixels, and be in PNG, JPEG, or GIF format (SVG not supported). The URI can be at most 2 kB in length."
},
"location": {
"type": "object",
"title": "Location",
"required": [
"index"
],
"properties": {
"index": {
"type": "integer",
"title": "Index",
"examples": [
1,
10
],
"description": "The zero-based index within the segment where the image will be inserted (required). Use 1 to insert at the beginning of the document body, or a higher number to insert at a specific position."
},
"segmentId": {
"type": "string",
"title": "Segment Id",
"default": null,
"examples": [
"my-segment-id"
],
"nullable": true,
"description": "The ID of the segment where the image will be inserted. If not provided, the image is inserted in the document body."
}
},
"description": "The location in the document to insert the image. The index field is required to specify the insertion point.",
"additionalProperties": false
},
"documentId": {
"type": "string",
"title": "Document Id",
"examples": [
"195j9eDD34F5f92P1i-P7Hj1S_t8h0hE4k2g1g2g"
],
"description": "The ID of the document to update."
},
"objectSize": {
"type": "object",
"title": "ObjectSize",
"default": null,
"nullable": true,
"properties": {
"width": {
"type": "object",
"title": "Dimension",
"default": null,
"nullable": true,
"properties": {
"unit": {
"enum": [
"EMU",
"PT"
],
"type": "string",
"title": "UnitEnum",
"default": null,
"nullable": true,
"description": "The units for magnitude. Supported units: EMU, PT (PX is not supported by the API)."
},
"magnitude": {
"type": "number",
"title": "Magnitude",
"default": null,
"nullable": true,
"description": "The magnitude of the size."
}
},
"description": "The width of the image.",
"additionalProperties": false
},
"height": {
"type": "object",
"title": "Dimension",
"default": null,
"nullable": true,
"properties": {
"unit": {
"enum": [
"EMU",
"PT"
],
"type": "string",
"title": "UnitEnum",
"default": null,
"nullable": true,
"description": "The units for magnitude. Supported units: EMU, PT (PX is not supported by the API)."
},
"magnitude": {
"type": "number",
"title": "Magnitude",
"default": null,
"nullable": true,
"description": "The magnitude of the size."
}
},
"description": "The height of the image.",
"additionalProperties": false
}
},
"description": "The size of the image. If not specified, the image is rendered at its intrinsic size.",
"additionalProperties": false
}
}
}