validate_function_consistency
Check consistency between defined menu functions and their actual implementations to prevent runtime errors in Apps Script projects. Optionally auto-generate missing stubs and scan triggers or buttons.
Instructions
Validate consistency between menu functions and implementations to prevent runtime errors
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": {
"script_id": "<script_id>"
},
"name": "validate_function_consistency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_id | Yes | Apps Script project ID | |
| auto_generate_stubs | No | Auto-generate missing function stubs | |
| include_advanced_scan | No | Include triggers, buttons, and other function references |