Skip to main content
POST
Check tool call

Authorizations

Authorization
string
header
required

Create an API key in the console.

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. An organisation with zero data retention keeps no answer, so its key is not honoured: a retry runs again and is charged again.

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

Query Parameters

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

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