log_intercept
Send an intercept event to the Gateplex API. Use this every time an AI agent performs an action that should be logged, governed, or audited.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"event_type": "<event_type>"
},
"name": "log_intercept"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Raw input/prompt | |
| model | No | Model identifier, e.g. 'gpt-4o' | |
| output | No | Raw output | |
| flagged | No | ||
| agent_id | No | UUID of the agent generating this intercept | |
| metadata | No | ||
| event_type | Yes | Event type, e.g. 'llm_call', 'tool_call', 'http_request' | |
| latency_ms | No |