Register Namespace
register_namespaceRegister a namespace before writing to it (register-before-use).
Namespaces match ^[a-z][a-z0-9-]{1,31}$; system/handoff/reviews/tasks/ag and
names starting with _ are reserved. Under API version 2026-11 writing to an
unregistered namespace fails with namespace_not_registered; call this, then
retry the write unchanged. Idempotent: an existing namespace is returned.
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": {
"namespace": "<namespace>"
},
"name": "register_namespace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purpose | No | ||
| namespace | Yes | ||
| write_policy | No | open | |
| idempotency_key | No | Optional. Retries with the same key and arguments within 24 h replay the first result (replayed=true) without a second write; a different body with the same key is idempotency_key_reused. | |
| doc_type_default | No | collaborative |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||