# pk-auc

`station__pharmacokinetics__pk-auc` · external (needs EXECUTION_BACKEND_URL configured) · domain `pharmacokinetics` · pv-relevance `pv-core`

Calculate Area Under the Concentration-Time Curve using linear or log-linear trapezoidal method. AUC quantifies total drug exposure. Linear: Σ (C1+C2)/2 × Δt. Log-linear preferred for elimination phase.

> **Note:** This tool routes through an external execution backend. If `EXECUTION_BACKEND_URL` is unset on the server, calls return JSON-RPC error `-32603 "Tool execution backend not configured"`. Tools with `backend: native` execute in-process and are always callable.

## Agent metadata

- `idempotent`: unknown
- `read_only`: unknown
- `expected_latency_ms`: unknown (not yet contract-tested)
- `cost_tokens_estimate`: unknown

## Input schema

- `concentrations` *array* (required) — Plasma concentration values at each time point (e.g. mg/L). Must have the same length as `times`.
- `method` *string* (required)
- `times` *array* (required) — Time points (hours). Must be monotonically increasing.

## Example call

```json
POST /api/mcp
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__pharmacokinetics__pk-auc",
    "arguments": {
      "concentrations": [],
      "method": "",
      "times": []
    }
  }
}
```

## Related

- [/tools](/tools) — all 3062 tools
- [/tools/pharmacokinetics__pk-auc](/tools/pharmacokinetics__pk-auc) — HTML page
- [/tools/pharmacokinetics__pk-auc/json](/tools/pharmacokinetics__pk-auc/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
