update_deploy_script
Replace a site's deploy script entirely with new content. Provide the complete script; the update applies asynchronously.
Instructions
Replace a site's deploy script with the given content (full-file PATCH — send the complete script, not a diff). Read it first with get_deploy_script. Ploi applies the write asynchronously, so allow a few seconds before reading it back.
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": {
"server_id": "<server_id>",
"site_id": "<site_id>",
"deploy_script": "<deploy_script>"
},
"name": "update_deploy_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_id | Yes | The ID of the server | |
| site_id | Yes | The ID of the site | |
| deploy_script | Yes | The full deploy-script content to write (replaces the existing script entirely) |