resolve_permission(
self,
context: ClientHookContext,
call: ToolCallData
) -> PermissionHookOutcome| Name | Type | Description |
|---|---|---|
context* | ClientHookContext | Current client session context. |
call* | ToolCallData | Tool action awaiting approval. |
Resolve a permission hook and present user-facing attribution once.
The returned HITL decision carries the raw hook reason (or stop reason) for model-visible resume payloads. Attribution text is emitted only through the shared presenter.