insert_doc_file_chip
Insert Google Drive file smart chips into Google Docs to display file names, icons, and previews as linked text that auto-converts from URLs.
Instructions
Insert a Drive file smart chip at the specified index.
A Drive file URL inserted as linked text auto-converts into a file chip in Google Docs, showing the file's name, icon, and preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| document_id | Yes | ID of the document. | |
| file_url | Yes | Full Drive file URL (e.g. "https://docs.google.com/document/d/.../edit"). | |
| display_text | No | Optional visible text for the link. Defaults to the URL. | |
| index | No | Document index at which to insert. | |
| tab_id | No | Optional tab ID to scope the insertion to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |