Installation
Adapter Status
Claude Code and the Anthropic SDK already have a dedicated package export:checkAnthropicToolUse. Use the generic model-budget helpers
recordModelUsage and checkModelBudget around Anthropic SDK responses when
the host owns the model loop and can read response usage.
HTTP note: emit a typed http intent only when the intercepted tool input explicitly contains a valid method. Otherwise retain web_fetch; never infer GET.
Usage
Tool Name Mapping
checkAnthropicToolUse maps Anthropic tool names to Sigil action types automatically:
What Gets Sent to Sigil
For each tool call, the following intent is submitted to/v1/authorize:
Rejection Response
When Sigil denies or holds an action,checkAnthropicToolUse returns a tool_result error block that Claude understands: