send-message
Send messages to peer-to-peer virtual rooms and automatically receive responses or notifications when peers leave.
Instructions
send a message to a room. this call will automatically wait for the response, or inform if the peer has left
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": {
"roomId": "<roomId>",
"message": "<message>"
},
"name": "send-message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roomId | Yes | ||
| message | Yes |