Install a plugin
bb_install_pluginInstall a Blockbench plugin from source code, a local file, or a URL. It writes to the plugins folder, records for startup, and loads immediately.
Instructions
Install a Blockbench plugin from source code, a local file, or a URL. The code is written to the plugins folder, recorded so it loads on startup, and loaded immediately. Executes third-party code inside Blockbench.
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": "bb_install_plugin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Plugin id (required unless it can be read from the code). | |
| url | No | URL of a .js plugin file. | |
| code | No | Full plugin JavaScript source. | |
| path | No | Local .js file to install. | |
| version | No | 1.0.0 |