update_script_button
Update metadata for an existing ScriptButton, or move it to a different module.
Instructions
Updates metadata for an existing ScriptButton or moves it to another module.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pid": "<pid>",
"module_id": "<module_id>",
"button_id": "<button_id>",
"name": "<name>",
"script_Path": "<script_Path>",
"icon_name": "<icon_name>",
"tooltip": "<tooltip>"
},
"name": "update_script_button"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| name | Yes | ||
| tooltip | Yes | ||
| button_id | Yes | ||
| icon_name | Yes | ||
| module_id | Yes | ||
| script_Path | Yes | ||
| dest_module_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |