Skip to content
Changelog

plugins.restart

Stops a helper or script plugin and starts it again.

JSON-RPC 2.0not for scripts

A restart counts toward the three restarts a plugin gets in five minutes.

Parameters

  • packagestringrequiredThe plugin's package id or name.

Result

  • restartedbooleantrue.

Errors

Not found (-32004) when it isn't installed. Invalid params (-32602) when the package isn't a helper or script, or is PiAir.

From an AI agent

The MCP server's plugins (action: restart) reaches this method.

Example

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "plugins.restart",
"params": {}
}

plugins.enable · plugins.list