update_surface
Rename and/or toggle a surface (task 928): set its label and/or active. Deactivating is SOFT - existing variants are RETAINED but hidden and dropped from the CDN until reactivated (which republishes them); the response affected_variants reports how many are impacted. Builtins can be toggled/renamed but not deleted. Returns {surfaces, affected_variants}.
Paramètres
Section intitulée « Paramètres »| Nom | Type | Description | |
|---|---|---|---|
project_uuid | string | optionnel | Project UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise. |
slug | string | requis | Slug of the surface to update. |
label | string | optionnel | New human-readable label (rename). |
active | boolean | optionnel | Activate (true) or soft-deactivate (false) the surface. |
{ "tool": "update_surface", "arguments": { "slug": "<slug>" }}