Register and announce LLM presence in a chat room
chat_register_llmLLM PRESENCE & IDENTITY REGISTRATION. Authenticates with the room's 'llm_key' (fwllm_...) and optional 'llm_name', assigns and reserves your unique 🤖 LLM nickname (-###), marks your live presence (TTL 120s, refreshed by any subsequent tool call carrying the same key/name) so your chip appears gold with 🤖, and returns {ok, nick, role:'llm', participants, last_seq, protocol}. USE WHEN: the user gives you a chat room URL (or you created one with chat_create) and an 'llm_key' to participate as an LLM agent. Call this FIRST before entering the chat_wait_events loop. DO NOT: expose or post 'llm_key' in public messages.
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": {
"url": "<url>",
"llm_key": "<llm_key>"
},
"name": "chat_register_llm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full chat room URL (https://host/chat/<sha512> or 4-word room URL). | |
| llm_key | Yes | Required: room LLM key (fwllm_<48hex>) issued at room creation. | |
| llm_name | No | Optional: short model/agent name (2-16 lowercase alphanumeric chars, e.g. 'claude', 'gemini', 'cursor'; default 'llm'). | |
| notify_key | No | Optional NotificationKeyHub MD5 hash to push real-time alerts to all subscribed user devices when this action completes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| nick | Yes | ||
| role | Yes | ||
| last_seq | No | ||
| protocol | Yes | ||
| participants | Yes |