get_script_metrics
Retrieve Apps Script metrics for a project by specifying the script ID and user email, with options for granularity and filtering.
Instructions
Get Apps Script metrics for a script.
Args:
user_google_email: The user's Google email address. Required.
script_id: The Apps Script project ID.
metrics_granularity: Metrics granularity (DAILY or WEEKLY).
metrics_filter_json: Optional JSON object for metrics filter.
Returns: str: Metrics summary.
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>",
"script_id": "<script_id>"
},
"name": "get_script_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| script_id | Yes | ||
| metrics_granularity | No | DAILY | |
| metrics_filter_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |