Save a registry value
registry_setRecords an exact operational value under a canonical key: a host, a service endpoint, where a credential lives, a model route, a dataset. It suits a value another tool will act on and a wrong guess would break; memory_write takes anything a person would say in a sentence. Keys are canonical and dotted, 'services.lumberroom.port' rather than 'lumberroom port'. A key that gets rejected is remembered as a redirect, so the next caller reaching for the same wrong name lands on the right row. The value is not for secrets: a credential-ref names where the secret lives and the secret stays there. The previous value stays readable in registry_history.
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": {
"kind": "<kind>",
"key": "<key>",
"value": "<value>",
"namespace": "<namespace>"
},
"name": "registry_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The canonical key, dotted and lowercase: 'services.lumberroom.port', not 'lumberroom port'. | |
| kind | Yes | 'host', 'service', 'credential-ref', 'model-route' or 'dataset'. | |
| value | Yes | The value, as JSON. A string, a number, or an object when the fact has parts. | |
| namespace | Yes | Where it belongs: 'global' for infrastructure, 'project:<slug>' for one codebase, 'user:me' for the person. |