Functions
ask
Function: ask()
ask(
payload):AskOutcome
Defined in: src/core/agent/middleware/outcomes.ts:86
Suspend the run and put the question to a person. Tool dispatch only —
MessageOutcome has no ask arm, so this cannot be returned from a
message middleware.
The answer is a decision, not a result: approve and the chain continues and the REAL tool runs; decline and it becomes a denial the model reads. A middleware never gets to write the answer itself.
