Skip to main content
POST
Validate Tool Call

Authorizations

X-API-Key
string
header
required

PromptGuard API key for developer endpoints. Keys start with pg_live_ and are created in the dashboard.

Headers

x-api-key
string | null

Body

application/json

Request to validate a tool call

agent_id
string
required
tool_name
string
required
arguments
Arguments · object
required
session_id
string | null

Response

Successful Response

Response from tool call validation

allowed
boolean
required
risk_score
number
required
risk_level
string
required
reason
string
required
warnings
string[]
blocked_reasons
string[]