clasp_run
Execute a function in a Google Apps Script project, optionally passing parameters and choosing between dev and production deployments.
Instructions
Run a function in the Apps Script project
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": {
"functionName": "<functionName>"
},
"name": "clasp_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nondev | No | Run with production (non-development) deployment | |
| params | No | Parameters as JSON string | |
| rootDir | No | Root directory of the project | . |
| functionName | Yes | Function name to run |