Update Script Content
update_script_contentUpdate or create files in a script project. Use the project ID, user email, and file objects to modify the project content.
Instructions
Updates or creates files in a 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": {
"user_google_email": "<user_google_email>",
"script_id": "<script_id>",
"files": "<files>"
},
"name": "update_script_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | User's email address | |
| script_id | Yes | The script project ID | |
| files | Yes | List of file objects with name, type, and source |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |