Update Folder
update_folderModify folder details in Google Tag Manager by changing its name or notes. Supply account, container, workspace, and folder IDs along with the updated folder fields to apply changes.
Instructions
Update a folder's name or notes.
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": {
"account_id": "<account_id>",
"container_id": "<container_id>",
"workspace_id": "<workspace_id>",
"folder_id": "<folder_id>",
"folder": "<folder>"
},
"name": "update_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | Folder resource with the fields to set. | |
| folder_id | Yes | Numeric folder ID. | |
| account_id | Yes | Numeric Tag Manager account ID. | |
| fingerprint | No | Fingerprint from a previous read. When given, the update fails if the folder changed in the meantime. | |
| container_id | Yes | Numeric container ID. | |
| workspace_id | Yes | Numeric workspace ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||