script_run
Execute a specified Google Apps Script by providing its ID and optional parameters. Streamline script management and integration with any MCP-compatible client for efficient workflow automation.
Instructions
Run a Google Apps Script.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
access_token | No | OAuth access token. | |
alt | No | Data format for response. | |
fields | No | Selector specifying which fields to include in a partial response. | |
key | No | API key for the project. | |
oauth_token | No | OAuth 2.0 token for the current user. | |
prettyPrint | No | Returns response with indentations and line breaks. | |
quotaUser | No | Available to use for quota purposes for server-side applications. | |
scriptId | Yes | The ID of the script to run. |
Input Schema (JSON Schema)
{
"properties": {
"access_token": {
"description": "OAuth access token.",
"type": "string"
},
"alt": {
"description": "Data format for response.",
"enum": [
"json",
"xml"
],
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"type": "string"
},
"key": {
"description": "API key for the project.",
"type": "string"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"type": "string"
},
"prettyPrint": {
"description": "Returns response with indentations and line breaks.",
"type": "boolean"
},
"quotaUser": {
"description": "Available to use for quota purposes for server-side applications.",
"type": "string"
},
"scriptId": {
"description": "The ID of the script to run.",
"type": "string"
}
},
"required": [
"scriptId"
],
"type": "object"
}