Skip to content

Graphorin API reference v0.4.0


Graphorin API reference / @graphorin/tools / / createDefaultSpillWriter

Function: createDefaultSpillWriter()

ts
function createDefaultSpillWriter(): SpillWriter;

Defined in: packages/tools/src/result/spill.ts:28

Build the default spill writer — writes the un-truncated body to <os.tmpdir()>/graphorin-spill/<runId>/<toolCallId>.<ext> with 0600 permissions and tier-aware sensitivity inheritance.

Operators that need a sandbox-aware path inject their own writer via createToolExecutor({ spill }) (and a matching reader for read_result).

Returns

SpillWriter

Stable