link_local_file
Associate a local file with a Google Drive file ID for synchronization. Use dry run to preview the link before applying.
Instructions
Link a local file to a Google Drive file ID for synchronization.
Args: user_google_email: The user's Google email address. Required. local_path: The relative path to the local file (e.g. "docs/notes.md"). file_id: The Google Drive file ID or its search alias (e.g. "A"). dry_run: If True (default), preview link operation without updating local sync metadata.
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": {
"user_google_email": "<user_google_email>",
"local_path": "<local_path>",
"file_id": "<file_id>"
},
"name": "link_local_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| local_path | Yes | ||
| file_id | Yes | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |