create_shortcut
Create a Google Drive shortcut pointing to an existing file, optionally in a chosen folder with a custom name.
Instructions
Create a Drive shortcut pointing to an existing file.
Args: target_file_id: The ID of the file the shortcut should point to. folder_id: Destination folder ID for the shortcut. If not provided, uses the configured default folder or creates in root. name: Name for the shortcut. Defaults to the target file's own name.
Returns: shortcutId, name, parent, targetId, and targetMimeType of the new shortcut.
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": {
"target_file_id": "<target_file_id>"
},
"name": "create_shortcut"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| folder_id | No | ||
| target_file_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||