workspace_connect
Connect to Google Spreadsheets to analyze sheet structure and discover associated Apps Script files, functions, triggers, and deployments for comprehensive workspace automation.
Instructions
Connect to a Google Spreadsheet and discover everything about it.
Args: spreadsheet_url: Spreadsheet URL or ID script_url: Optional. The Apps Script URL or ID (from Extensions > Apps Script). Container-bound scripts don't appear in Drive API (Google limitation), so pass the script URL for full discovery. If omitted, only sheet structure is returned.
Returns: sheet structure, and if script_url is provided: all files with functions, triggers, and deployments.
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": {
"spreadsheet_url": "<spreadsheet_url>"
},
"name": "workspace_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spreadsheet_url | Yes | ||
| script_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |