Structs§
- Role
- A reusable role definition that can be referenced by steps.
- Step
- A single workflow step — one agent invocation.
- Storage
File Hint - A hint describing an expected file inside a folder-typed storage entry.
- Storage
Spec - A named storage declaration — a place the workflow keeps structured files.
- Variable
- A workflow variable — shared state between steps.
- Workflow
- A complete workflow definition parsed from a
.zwffile. - Workflow
Meta - Workflow-level metadata.
Enums§
- Failure
Policy - What to do when a step fails.
- Memory
Mode - Memory injection mode parsed from the
memoryfield on workflows/steps. - Resource
Spec - A resource entry — a knowledge file the agent is told about (not inlined) via the system prompt, so it can choose to read it with its file tools.
- Step
Command - Zag command type for a step. When set, changes which zag subcommand
is invoked instead of the default
zag run. - Storage
Kind - Whether a storage entry is a folder or a single file.
- VarType
- Supported variable types.