# Class LittleGhost::Workflow::Invocation

Documentation version: Edge

Canonical HTML: https://littleghostai.org/docs/LittleGhost/Workflow/Invocation.html

Hold one lazy Assembly call inside a workflow composition. Workflow
implementations normally use only its output method or return the object as
the final invocation.

## Inheritance

`LittleGhost::Workflow::Invocation < Object`

## Instance methods

<a id="method-i-output"></a>
### `#output`

```ruby
#output()
```

Consumes this invocation when necessary and returns RunResult#output.

A structured agent returns its validated value; an ordinary agent returns
response text. Intermediate usage is recorded for the workflow total.
