soundboard.play
Plays a soundboard pad, or stops what's playing.
JSON-RPC 2.0project.write
Parameters
- padstringA pad's name or id. Without it, or with
stop, the soundboard stops.
Result
- playingstringThe pad's name, when one plays.
Errors
Not found (-32004) for an unknown pad. A state error (-32005) when there's no soundboard yet.
From an AI agent
The MCP server's soundboard (action: play or stop) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "soundboard.play", "params": { "pad": "Airhorn" }}lightair call soundboard.play '{"pad":"Airhorn"}'const result = lightair.call("soundboard.play", {"pad":"Airhorn"});Result
{ "playing": "Airhorn" }