Dpanel Compose Create
dpanel_compose_createCreate or update a Docker Compose project from full YAML content and return the project ID. Pass an existing ID to update the project instead of creating a new one.
Instructions
创建/更新 compose 项目。compose_type ∈ text|remoteUrl|outPath(storagePath/store 不可手动建)。 yaml 为完整 docker-compose 内容(text 类型)。传 id 为更新。返回项目 id。
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": {
"name": "<name>",
"yaml": "<yaml>"
},
"name": "dpanel_compose_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | Yes | ||
| yaml | Yes | ||
| title | No | ||
| environment | No | ||
| compose_type | No | text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |