# Microgram: pvdsl-parse

`station__algovigilance__microgram-pvdsl-parse` · native (always callable) · domain `algovigilance` · pv-relevance `pv-core`

Parse and validate a PVDSL expression, returning the abstract syntax tree (AST). Shows the program structure including statements, expressions, and metadata without executing.

## Agent metadata

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

## Input schema

- `source` *string* (required) — PVDSL source code to parse

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__algovigilance__microgram-pvdsl-parse",
    "arguments": {
      "source": ""
    }
  }
}
```

## Related

- [/tools](/tools) — all 7718 tools
- [/tools/algovigilance__microgram-pvdsl-parse](/tools/algovigilance__microgram-pvdsl-parse) — HTML page
- [/tools/algovigilance__microgram-pvdsl-parse/json](/tools/algovigilance__microgram-pvdsl-parse/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
