Skip to main content

talonic_save_app_draft

Create or replace the app's single draft version: logic (rule sentences, or the external connection), input bindings, output contract (JSON Schema 2020-12), thresholds, triggers, fallback. Drafts are the only versions that can change. Listed only when the credential can read the workspace's apps. The platform checks the caller's role, per-app access and key scopes on every call.

  • USE WHEN: authoring configuration in full. For a plain-language change to an existing draft prefer talonic_propose_app_edit + talonic_apply_app_edit.
  • ARGS: app_id, content (the full version content object; read the current one with talonic_get_app_logic). RETURNS: { version, status, content_hash }; pass version to talonic_publish_app.

Parameters

ParameterTypeDescription
app_id *stringApp id: the UUID `id` from talonic_list_apps or talonic_create_app (not the app_… public id).
content *objectFull version content object.

Frequently asked questions

When is this tool listed?+
When the credential can read the workspace's apps. The platform checks the caller's role, per-app access and key scopes on every call.