config_write
Write files into a Config, creating it if needed, and optionally mount it into a Service at a directory. A file's text may read a Service variable as ${{ SERVICE.KEY }}. Staged. This call asks no human.
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": {
"config": "<config>",
"files": "<files>"
},
"name": "config_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gid | No | ||
| uid | No | ||
| mode | No | Octal, e.g. 0440. Omit to keep. | |
| path | No | Absolute directory in the Service's containers, with service. | |
| files | Yes | File name to contents. | |
| config | Yes | Config name. Created when it does not exist. | |
| project | No | Project name. | |
| service | No | Service to mount it into, with path. | |
| environment | No | Environment name, e.g. staging. | |
| expect_revision | No | Writes only if the place is still at this revision. |