Skip to main content
Glama

set_mute

Mute or unmute a specific audio input in OBS Studio to control audio levels during streaming or recording.

Instructions

Mute or unmute an audio input.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_nameYesName of the audio input (from list_audio_inputs).
mutedYestrue to mute, false to unmute.

Implementation Reference

  • The handler logic for the 'set_mute' tool, which calls the OBS WebSocket 'SetInputMute' command.
    case "set_mute": {
      await obs.call("SetInputMute", {
        inputName: args.input_name,
        inputMuted: args.muted,
      });
      return ok({ input: args.input_name, muted: args.muted });
    }
  • The schema definition for the 'set_mute' tool, defining the input properties 'input_name' and 'muted'.
      name: "set_mute",
      description: "Mute or unmute an audio input.",
      inputSchema: {
        type: "object",
        properties: {
          input_name: {
            type: "string",
            description: "Name of the audio input (from list_audio_inputs).",
          },
          muted: {
            type: "boolean",
            description: "true to mute, false to unmute.",
          },
        },
        required: ["input_name", "muted"],
      },
    },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LarsCanGit/OBS-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server