matrix-mcp: send_dm and open_dm accept a bare agent name
This commit is contained in:
parent
f86d90a91d
commit
66f4984223
1 changed files with 35 additions and 4 deletions
|
|
@ -280,7 +280,8 @@ impl MatrixMcp {
|
|||
}
|
||||
|
||||
#[tool(description = "Open (or reuse) a direct message room with `user_id` \
|
||||
(@user:server) and post `body` to it. If the DM room already exists \
|
||||
(@user:server, or just an agent's name such as `iris` for that agent \
|
||||
on this homeserver) and post `body` to it. If the DM room already exists \
|
||||
and has unread messages, the send is rejected with a hint — read_room \
|
||||
then mark_read the latest event first.")]
|
||||
async fn send_dm(&self, Parameters(args): Parameters<SendDmArgs>) -> String {
|
||||
|
|
|
|||
Loading…
Reference in a new issue