delete_surface
Delete a CUSTOM surface (task 928). Builtins cannot be deleted - deactivate them with update_surface(active=false) instead (a 422/409 is returned if you try to delete a builtin). Deleting a custom surface removes it from the catalog.
Parameters
Section titled “Parameters”| Name | Type | Description | |
|---|---|---|---|
project_uuid | string | optional | Project UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise. |
slug | string | required | Slug of the custom surface to delete. |
Example
Section titled “Example”{ "tool": "delete_surface", "arguments": { "slug": "<slug>" }}