AvertaDecisionClient when you need to call Averta directly instead of using a provider wrapper.
Options
| Option | Required | Description |
|---|---|---|
avertaApiKey | Yes | Runtime Averta API key. |
avertaBaseUrl | No | Defaults to https://api.averta.io. |
decisionTimeoutMs | No | Defaults to 30000. Set 0 to disable the SDK-managed timeout. |
fetch | No | Custom fetch implementation. |
clientMetadata | Yes | Adapter name and version sent as client metadata. |
Methods
| Method | Checkpoint |
|---|---|
preflight(...) | Request and tool exposure |
checkToolCall(...) | Model-requested tool calls |
checkToolResult(...) | Returned tool content |
checkOutput(...) | Final model output |