careful-balloon-40650
07/09/2025, 10:23 PMtall-airline-16756
07/09/2025, 10:23 PMtall-airline-16756
07/09/2025, 10:24 PMremote_participants
on the room object.
• API Method: Use ctx.api.room.list_participants()
with the room name to retrieve a full participant list and detailed info.
• Room Object: Iterate through ctx.room.remote_participants.values()
for currently connected remote participants.
The information available per participant includes at least:
• identity
• name
• state
• is_publisher
• joined_at
• metadata
• sid
For SIP participants, additional attributes such as sip.callID
, sip.callStatus
, sip.phoneNumber
, and more are available as part of their attributes dictionary.
You can also access any custom user attributes and listen for changes to those attributes using event handlers.
See the code examples for both API and direct room access methods in the agent context for implementation details and the list of retrievable fields.
Reference: Sourced from official documentation and code samples.
Sources: Inside a session | LiveKit Docs | mcp/server.py