script_deploy
Creates a new Apps Script project version and deployment so you can run the script as an API executable or publish it as a web app.
Instructions
Create a new version and a deployment of an Apps Script project. Needed before script_run (as an API executable) or to publish a web app (set webApp in the manifest first).
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": {
"scriptId": "<scriptId>"
},
"name": "script_deploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptId | Yes | ||
| description | No | Deployed by Claude | |
| deploymentId | No | Update this existing deployment instead of creating a new one |