Deploy files
tzcloud_deploy_filesDeploy an application with inline content or files in its storage areas.
No folder path or ZIP is accepted. With a shell and the app's whole folder, use tzcloud_deploy_command where it works. With a shell, use the upload route beyond this tool's total or entry caps. Use tzcloud_deploy_files wherever the command cannot run, or for a disposable simple test app's first deploy.
One complete files call starts deployment. Your files must contain no secret values. Unreadable binary content needs an app storage area and a user upload. Get the page's address from tzcloud_read_status's dashboard, passing brief: false. Ask your user to sign in there and use Upload a file.
A non-platform response leaves the start uncertain. A retry needs tzcloud_read_status to show that deployment did not start.
Details: read_documentation /cloud/getting-started/ways-to-deploy/.
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": {
"application": "<application>"
},
"name": "tzcloud_deploy_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Keeps one file before a list call, for content too large for that call. | |
| files | No | Complete version. A server needs root `package.json`; a serverless application does not. Omitted files are absent. Omitted library copies fill only from manifest `packages`, with `[]` filling none. The result lists `missing`. With none missing, it deploys, or checks with `check_only`. | |
| check_only | No | True keeps accepted files and runs pre-deploy checks without starting or counting a deploy. It returns deploy refusals, or `files_checked` with deploy notes. | |
| application | Yes | Your account's application `id` from `tzcloud_list_applications`, not its name or label. | |
| environment | No | Default deploy target: production with one environment, development with two. | |
| wait_seconds | No | On a starting call, seconds to wait for its end. Unfinished deploys give `tzcloud_read_status` in `next`. |