docs_insert_link
Transform a selected text range in a Google Doc into a hyperlink by providing the document ID, start and end indices, and the URL to link to.
Instructions
Turn an existing range of text into a hyperlink.
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>",
"start_index": "<start_index>",
"end_index": "<end_index>",
"url": "<url>"
},
"name": "docs_insert_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| end_index | Yes | ||
| document_id | Yes | ||
| start_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |