Update command

Change the reply, level, cooldowns, cost, response type or on/off state of a command.

MCP tool streamelements_write → update_command

write Confirm

Changes only the fields you send; the rest stays as it is. Returns the command as saved. The new reply goes out in your chat the next time a viewer uses the command. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: update_command
NameTypeDescription
command_id string required string Command ID from list_commands.
reply string string New reply text.
level enum enum Everyone, Subscriber, Regular, VIP, Moderator or Super Moderator.
response_type enum enum say, mention, reply or whisper.
cooldown_global integer integer Seconds between any two uses.
cooldown_user integer integer Seconds the same viewer must wait.
cost integer integer Loyalty points charged per use.
enabled boolean boolean false turns the command off.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "streamelements_write",
    "arguments": {
      "operation": "update_command",
      "arguments": {
        "command_id": "c_4b19e0",
        "reply": "Streams this week: Tue and Thu 19:00 CET, Sat 16:00 CET."
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "command_id": "c_4b19e0",
    "trigger": "!schedule",
    "reply": "Streams this week: Tue and Thu 19:00 CET, Sat 16:00 CET.",
    "level": "Everyone",
    "response_type": "say",
    "enabled": true
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.