RunCtx¶
Fields¶
cwd¶
The working directory the tool runs in.
- Type:
string - Access: read-only
spill_dir¶
A scratch directory for output too large to return inline, for the model
to read back.
- Type:
string - Access: read-only
Methods¶
show¶
Publish a display-state snapshot for the block to render from. state
must be a plain serializable table; it becomes the block's current
state and triggers a redraw.
Parameters
state:any
title¶
Set a short label shown after the tool's name in the block header (like
the path an edit shows), naming what the call is acting on. nil
clears it.
Parameters
title:string(optional)