Submit app manifest
tzcloud_submit_manifestDeclare or change your application's manifest, its services, region and permitted external hosts. Submission provisions declarations, except production's database and its issue space where the app keeps one per environment. Those are created at the first production deploy or promote. A deploy never adds a service or host as a side effect. Your code's settings are stored secrets or plain values. Declare outside API keys through upstreams or tzcloud_declare_outbound_api, whose description gives the exception. A deploy uses only the last submitted manifest. Submit edits to your project's manifest.json again before a deploy can use them. An edit to application alone is the exception. Use tzcloud_check_manifest to check without recording. Then follow this answer's next tzcloud_store_secret calls. Schedule bounds may refuse your declarations. The regions europe, uk, and global are refused region_unavailable.
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>",
"manifest": "<manifest>"
},
"name": "tzcloud_submit_manifest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| manifest | Yes | Pass the whole manifest as a JSON object. Keep `application` if scaffold or deploy wrote it. That member is optional. The platform checks only that member's form. The call's application ID sets the target. See `manifest_schema`. A refusal gives the failing path. The platform reads no local files. | |
| local_run | No | Optional, on any submission, the first included. Beside `code_challenge`, `provisioning` holds the local run's line, which re-mints the local run's credentials when run and revokes those they replace; the answer withholds `credential` and `platform_credential`. Refused on a browser session's call. | |
| application | Yes | Your account's application `id` from `tzcloud_list_applications`, not its name or label. | |
| code_challenge | No | Beside `local_run` alone: the S256 challenge of a verifier the turnzero command keeps. The line's grant then re-mints only with that verifier, so a copy of the line re-mints nothing. Without it, `local_run` mints no grant and returns no line. |