OptionalargsOptional caller-supplied arguments (CLI: everything after --; MCP: the args object).
The workbook the script is running against.
The reporting channel - findings and results.
Diagnostics: something surprising but survivable. Travels separately from log.
The execution context passed as the second argument to a script entry (
export default function (workbook, ctx)).Remarks
These five members are the run context on every transport — and the implicit globals of an inline snippet:
wb,log,warn,error,args.