cast
Send local media to a TV on your network over DLNA: list renderers, start or stop casting, then pause, resume, seek, and check status of playback.
Instructions
Send what is playing to a television on the network over DLNA. "list" finds renderers; "to" starts a cast (naming a renderer, or omitting it when there is only one) and pauses playback here so it is not heard twice; "stop", "pause", "resume", "seek" and "status" drive it once it is running. Only local files can be cast — the television fetches them from this machine.
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": "cast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | A file to cast instead of what is playing. | |
| action | No | Defaults to status. | |
| seconds | No | For seek, where to go. For list and to, how long to wait for renderers to answer (default 3). | |
| renderer | No | Which renderer, by name or part of it. Omit when there is only one. |