{"version":"2.1.269","anchor":"structured-output-tool-gains-an-optional-completion-callback","canonical_anchor":"structured-output-tool-gains-an-optional-completion-callback","heading":"Structured-output tool gains an optional completion callback","tier":"internal","area":"SDK","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.269\/e\/structured-output-tool-gains-an-optional-completion-callback","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.269","markdown":"### Structured-output tool gains an optional completion callback\n\nStructured-output tool can now run a callback when it completes\n\n**Unclear.** The finding does not say what feature or consumer uses this new callback.\n\n**What**\n\nThe internal tool used for producing structured output now accepts an optional callback function. When provided, this callback is invoked with the tool's input as soon as the structured output call completes, before the result is returned.\n\n**Why**\n\nThis lets other parts of Claude Code react to a structured-output completion (for example, to record or use the input) without waiting for the result to be handled elsewhere.\n\n- Area: SDK\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}