insert_image_from_url
Add images from web URLs directly into Google Docs by specifying document ID, image URL, and insertion position.
Instructions
Insert an inline image from a publicly accessible URL.
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>",
"image_url": "<image_url>",
"index": "<index>"
},
"name": "insert_image_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | The ID of the Google Document | |
| image_url | Yes | Publicly accessible URL to the image | |
| index | Yes | The index (1-based) where the image should be inserted | |
| width | No | ||
| height | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |