The host seam: produce the WorkflowToolContext for one tool
call. extra carries the request (a hosted server derives auth from
it); input carries the parsed tool arguments — for the
instance-operating tools that includes the per-call workflow
environment address, which workflowAddressFromInput extracts so the
host can build (or reuse) the engine for that environment. The
authoring tools never invoke their context thunk, so this is never
called without an address to read.
The host seam: produce the WorkflowToolContext for one tool call.
extracarries the request (a hosted server derives auth from it);inputcarries the parsed tool arguments — for the instance-operating tools that includes the per-call workflow environment address, whichworkflowAddressFromInputextracts so the host can build (or reuse) the engine for that environment. The authoring tools never invoke their context thunk, so this is never called without an address to read.