Aller au contenu

create_surface

Create a CUSTOM DEVICE surface for the project (task 928), e.g. 'watch', 'tv', 'kiosk'. Device surfaces are extensible; a11y surfaces are a FIXED semantic set - creating an a11y slug (e.g. aria_label) is rejected with 422. Returns the updated surface catalog. Builtins need no creation (they exist lazily).

NomTypeDescription
project_uuidstringoptionnelProject UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise.
slugstringrequisSurface slug: lowercase letters, digits, '_' or '-', 1-40 chars (e.g. 'watch').
labelstringoptionnelOptional human-readable label (defaults from the slug).
{
"tool": "create_surface",
"arguments": {
"slug": "<slug>"
}
}