Invite Agent to Chat
ethora-agent-invite-to-chatInvite an Agent into a chat room. Multiple agents can coexist in the same room — call this tool once per agent and they will all appear as members able to converse. Lazily creates a per-App BotInstance (an Ethora user with isBot:true) if one does not already exist for (agent, app). Spawns the XMPP client live; no ai-service restart required. For the full multi-agent recipe see the ethora-agents-quickstart prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | No | Required in B2B mode unless already selected via ethora-app-select. | |
| chatId | No | Mongo Chat _id (preferred when invoking from admin). | |
| chatJid | No | Room JID `${appId}_${chatId}` (optionally with `@conference.<host>`), exactly the `jid` returned by `ethora-app-create-chat`. Preferred over `chatId`. | |
| agentIdOrAddress | Yes | Either Mongo _id (24 hex chars) or EOA-style address. |