Documentation Index
Fetch the complete documentation index at: https://docs.sigilcore.com/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Usage
Tool Name Mapping
checkAnthropicToolUse maps Anthropic tool names to Sigil action types automatically:
| Anthropic Tool | Sigil Action |
|---|---|
Bash, bash | bash |
WebSearch, WebFetch | web_fetch |
Write, Edit | file_write |
computer | bash |
| Any other tool | lowercased tool name |
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:
Configuration
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey | string | Yes | — | Sigil API key (sk_sigil_...) |
apiUrl | string | No | https://sign.sigilcore.com | Sigil Sign endpoint |
agentId | string | No | 'agent' | Agent identifier |
onDenied | function | No | — | Called when action is denied |
onPending | function | No | — | Called when action is held |
onError | function | No | — | Called on network error |