# Microgram: reg-intel-fhir-validate-resource

`station__algovigilance__microgram-reg-intel-fhir-validate-resource` · native (always callable) · domain `algovigilance` · pv-relevance `pv-core`

Validate a FHIR resource JSON structure (checks required fields, resourceType).

## Agent metadata

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

## Input schema

- `expected_type` *string* — Expected resource type (e.g. "AdverseEvent", "Patient", "Medication").
- `resource_json` *string* (required) — FHIR resource as JSON string.

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__algovigilance__microgram-reg-intel-fhir-validate-resource",
    "arguments": {
      "resource_json": ""
    }
  }
}
```

## Related

- [/tools](/tools) — all 7718 tools
- [/tools/algovigilance__microgram-reg-intel-fhir-validate-resource](/tools/algovigilance__microgram-reg-intel-fhir-validate-resource) — HTML page
- [/tools/algovigilance__microgram-reg-intel-fhir-validate-resource/json](/tools/algovigilance__microgram-reg-intel-fhir-validate-resource/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
