A Prebuilt Play is a Deepline-maintained Play with a published input and output
contract. It is not a raw provider tool. Use one when the maintained business
flow fits your job; write a Play only when you need your own decision logic.
Discover and inspect
Inspect the required inputs, output shape, origin, and example command. Ask
whether your records satisfy the input contract before you choose a provider or
build a waterfall.
Run a named Prebuilt Play from Call Plays. Pilot a
CSV-capable workflow through Batch CSV enrichment.
Compose an eligible child Play
Inside a custom Play, use ctx.runPlay(...) with a stable call key and a
statically resolvable child reference:
The child returns its result to the parent run. It does not create a separate
public run ID. A child that uses a dataset, reads a CSV, waits for an event, or
sets an explicit runtime timeout is not eligible for inline composition; run
that lifecycle-owning work as a top-level Play.
Do not invoke a Prebuilt Play with deepline tools execute or
ctx.tools.execute. Use deepline plays run,
Deepline.connect().play(...).run(...), or ctx.runPlay(...) as appropriate
for the caller.
When the contract is close but not right
Fetch its source, give your copy a new name, validate it, and publish it to
your workspace. Keep the original Prebuilt Play unchanged so future runs have
an unambiguous owner and revision history.