ncloud_sourcebuild_update_project
Update an existing SourceBuild project to change its build configuration, including source, commands, environment variables, and artifact options.
Instructions
Update an existing SourceBuild project configuration
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": {
"projectId": "<projectId>"
},
"name": "ncloud_sourcebuild_update_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Image tag | |
| osId | No | OS ID (if platformType=SourceBuild) | |
| image | No | Image name | |
| branch | No | Branch to build from | |
| envVars | No | Build environment variables | |
| timeout | No | Build timeout in minutes (5-540) | |
| cacheTag | No | Cache image tag | |
| cacheUse | No | Save build image | |
| dockerId | No | Docker engine version ID | |
| computeId | No | Compute type ID | |
| dockerUse | No | Include Docker engine | |
| projectId | Yes | Project ID to update | |
| runtimeId | No | Runtime type ID | |
| cacheImage | No | Cache image name | |
| repository | No | Source repository name | |
| sourceType | No | Source repository type | |
| artifactUse | No | Save build artifacts | |
| cacheLatest | No | Set latest tag for cache | |
| description | No | Project description | |
| artifactPath | No | Artifact paths | |
| platformType | No | Platform type: SourceBuild | ContainerRegistry | PublicRegistry | |
| registryName | No | Container Registry name | |
| buildCommands | No | Build commands | |
| cacheRegistry | No | Cache registry | |
| artifactBackup | No | Backup artifacts | |
| artifactBucket | No | Object Storage bucket | |
| dockerbuildTag | No | Docker build image tag | |
| dockerbuildUse | No | Enable Docker image build | |
| linkedFileSafer | No | File Safer integration | |
| artifactFilename | No | Artifact filename | |
| dockerbuildImage | No | Docker build image name | |
| preBuildCommands | No | Pre-build commands | |
| runtimeVersionId | No | Runtime version ID | |
| dockerbuildLatest | No | Set latest tag | |
| postBuildCommands | No | Post-build commands | |
| artifactStoragePath | No | Path within bucket | |
| dockerbuildRegistry | No | Docker build target registry | |
| dockerbuildDockerfile | No | Dockerfile path | |
| linkedCloudLogAnalytics | No | Cloud Log Analytics integration |