{"version":"2.1.328","anchor":"plugin-runtime-exposes-sessionturns-host-tool-result-capab","canonical_anchor":"plugin-runtime-exposes-sessionturns-host-tool-result-capab","heading":"Plugins can call session.turns, and hosts can say how they handle tool results","tier":"use","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/plugin-runtime-exposes-sessionturns-host-tool-result-capab","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Plugins can call session.turns, and hosts can say how they handle tool results\n\nPlugins can now call session.turns, and Claude Code can tell a host it supports error codes and notices on tool results\n\n**What**\n\nThe list of calls plugins are allowed to make now includes `session.turns`. Plugins are add-ons that extend Claude Code.\n\nClaude Code also builds a new set of capability flags, short notes saying what it can do:\n\n- `supports_tool_result_error_code`: always set. It says a tool result can carry an error code.\n\n- `supports_tool_result_notices`: set only in some cases. It says a tool result can carry notices.\n\nA new value, `can_tell_bridge_identity`, appears alongside them.\n\n**Why**\n\nBoth what plugins can call and what Claude Code can report to a host over the remote connection get a little wider.\n\n- Area: Plugins\n- Names: `session.turns`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}