Bentrix Docs
HomePricingDashboard

MCP tools: room

The rooms the person belongs to and the one in front: list them, make one, open one (or a market's public room), read who is there and what was said, write a message that carries the agent mark every member sees, raise or lower the person's hand, invite by username or email address (and take an email invitation back), share the workbench in front, and choose which of its models' outputs the room carries. Every room refuses broker links, asking members for their accounts and selling access elsewhere, whoever writes.

Reached from a connected client as client.room in Python, client.room in JavaScript, client.room() in Rust — each tool below shows its call in every language.

room_hand#

Raise or lower the hand

roomsplan: freesince 3.8.0

Raises the person's hand in the room in front, or lowers it; every member sees it beside the username.

ArgumentTypeRequiredDefaultWhat it is
upbooleanyes—

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "room_hand",
    "arguments": {
      "up": true
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.room
def hand(self, up: bool) -> Dict[str, Any]

JavaScript

client.room
hand(args)

C#

client.Room
public Task<JsonNode?> Hand(bool up, CancellationToken ct = default)

Go

client.Room
func (a *RoomAPI) Hand(ctx context.Context, args RoomHandArgs) (any, error)

Java

client.room
public Object hand(HandArgs args)

C++

client.room
Json hand(const HandArgs &args)

Julia

client.room
hand = (up)

R

client$room
`hand` = function(up)

Rust

client.room()
pub fn hand(&self, args: RoomHandArgs) -> Result<Value, Error>

room_invite#

Invite to the room in front

roomsplan: freesince 3.8.0

Invites a person to the room in front, as its creator's Invite… does — by username, or by the email address they sign in with (one of the two). By username the answer is invited or no account by that name; by email it is the same for every address (whether a message went to it), and the address stays in the creator's list until the person joins. The answer lands a moment later (room_read).

ArgumentTypeRequiredDefaultWhat it is
emailstring——Or the email address the person signs in with. The answer is the same whether or not an account uses it; the room waits in that person's list when they sign in with it.
usernamestring——The person's username. No link and no code exist: a room invites a person by name.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "room_invite",
    "arguments": {},
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.room
def invite(self, *, email: Optional[str] = None, username: Optional[str] = None) -> Dict[str, Any]

JavaScript

client.room
invite(args)

C#

client.Room
public Task<JsonNode?> Invite(string? email = null, string? username = null, CancellationToken ct = default)

Go

client.Room
func (a *RoomAPI) Invite(ctx context.Context, args RoomInviteArgs) (any, error)

Java

client.room
public Object invite(InviteArgs args)

C++

client.room
Json invite(const InviteArgs &args)

Julia

client.room
invite = (; email = nothing, username = nothing)

R

client$room
`invite` = function(email = NULL, username = NULL)

Rust

client.room()
pub fn invite(&self, args: RoomInviteArgs) -> Result<Value, Error>

room_invite_withdraw#

Take back an invitation by email

roomsplan: freesince 3.13.0

Takes back an invitation by email to the room in front, as the Withdraw beside the address in its creator's Invite… sheet does: the room leaves that person's list. The creator's alone; the list lands a moment later (room_read's invited).

ArgumentTypeRequiredDefaultWhat it is
emailstringyes—The address invited by email, as room_read's invited lists it.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "room_invite_withdraw",
    "arguments": {
      "email": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.room
def invite_withdraw(self, email: str) -> Dict[str, Any]

JavaScript

client.room
inviteWithdraw(args)

C#

client.Room
public Task<JsonNode?> InviteWithdraw(string email, CancellationToken ct = default)

Go

client.Room
func (a *RoomAPI) InviteWithdraw(ctx context.Context, args RoomInviteWithdrawArgs) (any, error)

Java

client.room
public Object inviteWithdraw(InviteWithdrawArgs args)

C++

client.room
Json invite_withdraw(const InviteWithdrawArgs &args)

Julia

client.room
invite_withdraw = (email)

R

client$room
`invite_withdraw` = function(email)

Rust

client.room()
pub fn invite_withdraw(&self, args: RoomInviteWithdrawArgs) -> Result<Value, Error>

room_list#

List my rooms

roomsplan: freesince 3.8.0

The rooms the person is invited to or a member of, as the Rooms area lists them — name, what each is for, whether invited, its members and unread messages — and asks the rooms service for the list again (what it answers lands a moment later; call again).

Takes no arguments.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "room_list",
    "arguments": {},
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.room
def list(self) -> Dict[str, Any]

JavaScript

client.room
list(args)

C#

client.Room
public Task<JsonNode?> List(CancellationToken ct = default)

Go

client.Room
func (a *RoomAPI) List(ctx context.Context) (any, error)

Java

client.room
public Object list()

C++

client.room
Json list()

Julia

client.room
list = ()

R

client$room
`list` = function()

Rust

client.room()
pub fn list(&self) -> Result<Value, Error>

room_make#

Make a room

roomsplan: freesince 3.8.0

Makes a room as the Make a room… sheet does — a name, what it is for, how long it keeps its messages (no default), whose wallet pays its Energy, and the person's acceptance of what every room refuses — and opens it. Making a room needs the account's package (Pro; the beta's own switch gives it).

ArgumentTypeRequiredDefaultWhat it is
attestsbooleanyes—The person's acceptance that every room refuses broker links, asking members for their accounts and selling access elsewhere. Must be true.
energy_payerstring——Whose wallet pays its Energy: creator (the default) or members.
namestringyes—The room's name, 1 to 60 characters.
presetstringyes—Follow, discussion or team_trading.
retentionstringyes—How long its messages are kept: days7, days30, days365 or kept. Chosen, never assumed.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "room_make",
    "arguments": {
      "attests": true,
      "name": "…",
      "preset": "…",
      "retention": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.room
def make(self, name: str, preset: str, retention: str, attests: bool, *, energy_payer: Optional[str] = None) -> Dict[str, Any]

JavaScript

client.room
make(args)

C#

client.Room
public Task<JsonNode?> Make(string name, string preset, string retention, bool attests, string? energyPayer = null, CancellationToken ct = default)

Go

client.Room
func (a *RoomAPI) Make(ctx context.Context, args RoomMakeArgs) (any, error)

Java

client.room
public Object make(MakeArgs args)

C++

client.room
Json make(const MakeArgs &args)

Julia

client.room
make = (name, preset, retention, attests; energy_payer = nothing)

R

client$room
`make` = function(name, preset, retention, attests, energy_payer = NULL)

Rust

client.room()
pub fn make(&self, args: RoomMakeArgs) -> Result<Value, Error>

room_open#

Open a room

roomsplan: freesince 3.8.0

Opens a room the person is a member of, or a market's public symbol room (sym:<CORE>), as a press on its row does: its socket connects and its chat, members and shared workbench land a moment later (room_read).

ArgumentTypeRequiredDefaultWhat it is
roomstringyes—The room's id from room_list, or sym:<CORE> for a market's public symbol room (EURUSD for EURUSD_i).

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "room_open",
    "arguments": {
      "room": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.room
def open(self, room: str) -> Dict[str, Any]

JavaScript

client.room
open(args)

C#

client.Room
public Task<JsonNode?> Open(string room, CancellationToken ct = default)

Go

client.Room
func (a *RoomAPI) Open(ctx context.Context, args RoomOpenArgs) (any, error)

Java

client.room
public Object open(OpenArgs args)

C++

client.room
Json open(const OpenArgs &args)

Julia

client.room
open = (room)

R

client$room
`open` = function(room)

Rust

client.room()
pub fn open(&self, args: RoomOpenArgs) -> Result<Value, Error>

room_output_shown#

Show a model's output to the room, or keep it from it

roomsplan: freesince 3.11.0

The room creator's choice of what the room in front carries of the models' outputs on the shared laboratory workbench, as the room's output chips do: every output but text is shown by default, and one kept back reaches no member, whoever leads. Answers what the room now carries.

ArgumentTypeRequiredDefaultWhat it is
modelstringyes—The model's name, as its output names it.
outputstringyes—The output's name within that model.
shownbooleanyes—true: the room sees it; false: it is kept from the room.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "room_output_shown",
    "arguments": {
      "model": "…",
      "output": "…",
      "shown": true
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.room
def output_shown(self, model: str, output: str, shown: bool) -> Dict[str, Any]

JavaScript

client.room
outputShown(args)

C#

client.Room
public Task<JsonNode?> OutputShown(string model, string output, bool shown, CancellationToken ct = default)

Go

client.Room
func (a *RoomAPI) OutputShown(ctx context.Context, args RoomOutputShownArgs) (any, error)

Java

client.room
public Object outputShown(OutputShownArgs args)

C++

client.room
Json output_shown(const OutputShownArgs &args)

Julia

client.room
output_shown = (model, output, shown)

R

client$room
`output_shown` = function(model, output, shown)

Rust

client.room()
pub fn output_shown(&self, args: RoomOutputShownArgs) -> Result<Value, Error>

room_read#

Read the room in front

roomsplan: freesince 3.8.0

The room in front: its name, what it is for, the person's place in it, its members (username only, present, hand), the addresses its creator invited by email and nobody has joined from yet (invited, the creator's alone), its newest messages (who, when, text, whether an agent wrote it), whether its socket is connected and whether the person follows the room's clock.

ArgumentTypeRequiredDefaultWhat it is
limitinteger——At most this many of the newest messages (default 50).

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "room_read",
    "arguments": {},
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.room
def read(self, *, limit: Optional[int] = None) -> Dict[str, Any]

JavaScript

client.room
read(args)

C#

client.Room
public Task<JsonNode?> Read(long? limit = null, CancellationToken ct = default)

Go

client.Room
func (a *RoomAPI) Read(ctx context.Context, args RoomReadArgs) (any, error)

Java

client.room
public Object read(ReadArgs args)

C++

client.room
Json read(const ReadArgs &args)

Julia

client.room
read = (; limit = nothing)

R

client$room
`read` = function(limit = NULL)

Rust

client.room()
pub fn read(&self, args: RoomReadArgs) -> Result<Value, Error>

room_say#

Write in the room in front

roomsplan: freesince 3.8.0

Writes a message in the room in front, carrying the agent mark every member sees. Every room refuses broker links, referral links and codes before a message is posted (and a symbol room any link and messaging handle); a refusal lands as the room's refused (room_read).

ArgumentTypeRequiredDefaultWhat it is
textstringyes—The message, at most 4 KB of plain text.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "room_say",
    "arguments": {
      "text": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.room
def say(self, text: str) -> Dict[str, Any]

JavaScript

client.room
say(args)

C#

client.Room
public Task<JsonNode?> Say(string text, CancellationToken ct = default)

Go

client.Room
func (a *RoomAPI) Say(ctx context.Context, args RoomSayArgs) (any, error)

Java

client.room
public Object say(SayArgs args)

C++

client.room
Json say(const SayArgs &args)

Julia

client.room
say = (text)

R

client$room
`say` = function(text)

Rust

client.room()
pub fn say(&self, args: RoomSayArgs) -> Result<Value, Error>

room_share#

Share the workbench in front

roomsplan: freesince 3.8.0

Shares the workbench in front with the room in front, as its creator's Share does: its clock, its charts and their setups are published, never a bar, an order or money; each member's own Bentrix makes the same workbench over its own data.

Takes no arguments.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "room_share",
    "arguments": {},
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.room
def share(self) -> Dict[str, Any]

JavaScript

client.room
share(args)

C#

client.Room
public Task<JsonNode?> Share(CancellationToken ct = default)

Go

client.Room
func (a *RoomAPI) Share(ctx context.Context) (any, error)

Java

client.room
public Object share()

C++

client.room
Json share()

Julia

client.room
share = ()

R

client$room
`share` = function()

Rust

client.room()
pub fn share(&self) -> Result<Value, Error>

Bentrix 0.1.382Every number, name and default on these pages is read from the application itself.What is comingWhat changed