dokploy_patch_saveFileAsPatch
dokploy_patch_saveFileAsPatchSave file changes as patches in Dokploy for applications or Docker Compose configurations to manage updates and deployments.
Instructions
[patch] patch.saveFileAsPatch (POST)
Parameters:
id (string, required)
type (enum: application, compose, required)
filePath (string, required)
content (string, required)
patchType (enum: create, update, optional)
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": {
"id": "<id>",
"type": "<type>",
"filePath": "<filePath>",
"content": "<content>"
},
"name": "dokploy_patch_saveFileAsPatch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| type | Yes | ||
| filePath | Yes | ||
| content | Yes | ||
| patchType | No |