Skip to content
1 min read · 68 words

Variable: toonToJsonTool

ts
const toonToJsonTool: Tool;

Defined in: src/batteries/artifacts/toon/index.ts:488

Converter tool: TOON to JSON.

Remarks

Accepts either inline TOON text or a reference to an artifact produced earlier in this turn. Converts to JSON and returns a new @nhtio/adk!SpooledJsonArtifact.

This is a plain @nhtio/adk!Tool, not an @nhtio/adk!ArtifactTool — the handler returns the new artifact directly, allowing the forge to discover and query it on the next iteration without explicit wiring.