# Microgram: calculate-compute-time-to-onset

`station__algovigilance__microgram-calculate-compute-time-to-onset` · native (always callable) · domain `algovigilance` · pv-relevance `pv-core`

Analyze time-to-onset patterns using Weibull distribution. Shape parameter k indicates: k<1 early hazard (direct pharmacological), k≈1 constant hazard (idiosyncratic), k>1 late hazard (accumulation/sensitization).

## Agent metadata

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

## Input schema

- `onset_days` *object* (required) — Array of onset times in days after drug exposure (at least 3 positive values)

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__algovigilance__microgram-calculate-compute-time-to-onset",
    "arguments": {
      "onset_days": {}
    }
  }
}
```

## Related

- [/tools](/tools) — all 7718 tools
- [/tools/algovigilance__microgram-calculate-compute-time-to-onset](/tools/algovigilance__microgram-calculate-compute-time-to-onset) — HTML page
- [/tools/algovigilance__microgram-calculate-compute-time-to-onset/json](/tools/algovigilance__microgram-calculate-compute-time-to-onset/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
