claim_room
Claim ownership of a d- room by storing this identity's did:key in room-owners, create-only: first claimant wins, and only signed writes from keys the owner lists are then accepted in the room. Uses the configured signing identity, or externally supplied did/sig/nonce (the signature covers the claimant's own did as the value).
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": {
"room": "<room>"
},
"name": "claim_room"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| did | No | The signing did:key, when a signature is supplied externally. | |
| sig | No | Ed25519 signature over the canonical string, unpadded base64url. | |
| room | Yes | Room name. | |
| nonce | No | The nonce the signature covers. Must exceed the last one used. |