{"version":"2.1.242","anchor":"tool-calls-and-turn-steps-dispatched-through-the-plugin-even","canonical_anchor":"tool-calls-and-turn-steps-dispatched-through-the-plugin-even","heading":"Tool calls and turn steps dispatched through the plugin event bus","tier":"internal","area":"Plugins","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242\/e\/tool-calls-and-turn-steps-dispatched-through-the-plugin-even","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242","markdown":"### Tool calls and turn steps dispatched through the plugin event bus\n\nTool calls and turn steps now flow through the plugin event bus, so plugins can observe a running turn.\n\n**What**\n\nTool invocation and turn stepping now go through the same event dispatch that plugins observe, rather than being called in line. This is the plumbing that lets a plugin see and act within a running turn.\n\n**Details**\n\n- Each tool call builds an event input, dispatches through core and managed handlers, and does open\/close bookkeeping around the call.\n- The interactive session subscribes to turn events and dispatches turn steps, appending their results as messages.\n\n**Evidence**\n\n`createTurnEventTail`\n\n- Area: Plugins\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 4\/5"}