Get portal discussion
get_portal_discussionLook up a portal's discussion thread without creating it. Returns threadId and roomId for the chat tools (list_chat_messages, send_chat_message), or threadId null before anyone opened it. Fails with not found when the portal is closed or its discussion is off. Readable by owners, admins, and members, like the discussion in the app.
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": {
"portalId": "<portalId>"
},
"name": "get_portal_discussion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| portalId | Yes | Portal ID, or the slug of a public portal. |