hive-matrix-mcp: add a leave_room tool
This commit is contained in:
parent
56ed2e07da
commit
d88a0cc526
1 changed files with 68 additions and 4 deletions
|
|
@ -33,9 +33,11 @@ is what an agent reads at call time. They fall into four groups:
|
|||
`edited: true`. The edit event doesn't appear as a second message and doesn't
|
||||
count as unread. When the original is outside the window read, the edit stays
|
||||
as its own event, and its `replaces_event_id` names the message it replaces.
|
||||
- **Room membership:** `invite_user`, `list_invites`, `resolve_invite` and
|
||||
`join_room`. `resolve_invite` accepts or rejects a pending invite and is the
|
||||
path for invites; `join_room` is for a public room the agent wasn't invited to.
|
||||
- **Room membership:** `invite_user`, `list_invites`, `resolve_invite`,
|
||||
`join_room` and `leave_room`. `resolve_invite` accepts or rejects a pending
|
||||
invite and is the path for invites; `join_room` is for a public room the
|
||||
agent wasn't invited to. `leave_room` leaves a joined room, which is how a
|
||||
retired account stops receiving a room's messages once the agent moves on.
|
||||
`list_invites` gives the inviter and the topic, so an agent can judge an
|
||||
invite before it answers. On an account that lives on the swarm
|
||||
homeserver, the daemon joins an invite from a user of that same server by itself,
|
||||
|
|
|
|||
Loading…
Reference in a new issue