Skip to main content
POST
Check tool call

Authorizations

Authorization
string
header
required

Create an API key in the console. Required when accounts are enabled.

Headers

Idempotency-Key
string

Reuse the same key and body after a lost response. A successful replay does not execute or charge again. Changed request bodies conflict; expired replay bodies are not executed again under the old key.

Required string length: 1 - 255
Pattern: ^[!-~]+$

Query Parameters

model
string | null
mode
string
default:guard
Pattern: ^(guard|auto)$
store
boolean
default:false

Body

application/json
hook_event_name
string
tool_name
string
tool_input
any
cwd
string
permission_mode
string
agent_type
string

Response

Successful Response

hookSpecificOutput
HookDecision · object