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
|
|
@ -777,7 +777,10 @@ fn fmt_matrix_tool(name: &str, short: &str, input: &Value) -> String {
|
|||
.unwrap_or_default();
|
||||
format!("{short} {}{limit}", fmt_room(&sv(input, "room")))
|
||||
}
|
||||
"mcp__matrix__mark_read" | "mcp__matrix__join_room" | "mcp__matrix__download_file" => {
|
||||
"mcp__matrix__mark_read"
|
||||
| "mcp__matrix__join_room"
|
||||
| "mcp__matrix__leave_room"
|
||||
| "mcp__matrix__download_file" => {
|
||||
format!("{short} {}", fmt_room(&sv(input, "room")))
|
||||
}
|
||||
"mcp__matrix__send_message" | "mcp__matrix__send_reply" => format!(
|
||||
|
|
|
|||
Loading…
Reference in a new issue