Skip to main content

PromptDraftClient

adaline.prompts.draft reads the current working draft of a prompt — the unsaved version shown in the editor before a save is applied. Every method is async.

Access

The class is also exported directly:
Types from adaline_api:

get()

Get the current draft for a prompt.

Parameters

Returns

PromptDraft with config, messages, tools, and variables mirroring the PromptSnapshot shape.

Example


See Also