create_namespace
Create a namespace (the container for keys). Idempotent on (project, slug): returns created=false if it already exists. slug must be lowercase letters/digits with internal hyphens (no leading/trailing hyphen, no underscore); an invalid slug returns a slug_invalid error rather than 'namespace not found'. Use this before create_key/propose_translation when the target namespace does not exist yet.
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 | Namespace slug: lowercase letters/digits + internal hyphens (e.g. common, marketing-site). |
name | string | required | Human-readable namespace name. |
description | string | optional |
Example
Section titled “Example”{ "tool": "create_namespace", "arguments": { "slug": "<slug>", "name": "<name>" }}