Skip to content
1 min read · 69 words

Variable: jsonToToonTool

ts
const jsonToToonTool: Tool;

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

Converter tool: JSON to TOON.

Remarks

Accepts either inline JSON text or a reference to a JSON artifact produced earlier in this turn. Converts to TOON and returns a new SpooledToonArtifact.

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.