{"version":"2.1.64","anchor":"hook-context-fields-for-subagents","canonical_anchor":"hook-context-fields-for-subagents","heading":"Hook Context Fields for Subagents","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.64\/e\/hook-context-fields-for-subagents","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.64","markdown":"### Hook Context Fields for Subagents\n\nHook event payloads now include `agent_type` and `agent_id` fields, providing context about whether the hook fired from a subagent and which agent type triggered it. This allows hook scripts to behave differently based on agent context.\n\n**Evidence**\n\nHook schema (search for `\"Agent type name\"`, `\"Subagent identifier\"`)"}