Rename Namespace
rename_namespaceRename an existing namespace and move all its entities and relations to the new name; rejects missing namespaces or duplicate target names instead of merging them.
Instructions
Rename a namespace: every entity and relation in it moves to the new name. Fails if the namespace does not exist, or if the new name already exists, since namespaces are never merged.
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>",
"newNamespace": "<newNamespace>"
},
"name": "rename_namespace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | The current name of the namespace to rename; it must exist | |
| newNamespace | Yes | The new name of the namespace; it must not exist |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| success | Yes | ||
| entityCount | Yes | ||
| relationCount | Yes |