apply_patch
Apply code patches to specific files in your Google Apps Script project by providing script ID, file name, and patch content.
Instructions
コードパッチ適用(apply_code_patchのエイリアス)
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>",
"file_name": "<file_name>",
"patch_content": "<patch_content>"
},
"name": "apply_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | ||
| script_id | Yes | ||
| patch_content | Yes |