Get Media Sessions
get_media_sessionsRetrieve active media sessions and music volume from a device, revealing the playing app, playback state, title, artist, and system audio status.
Instructions
Active media sessions (app, playback state, title/artist) and the music volume.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_media_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| include_system | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||