<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
# Implementing Trusted Types — API Reference

## Agent Script

| Command | Description |
|---------|-------------|
| `audit --url <val>` | Audit DOM sinks for TT compatibility |
| `generate --url <val> --policy <val>` | Generate Trusted Type policies |
| `deploy --url <val> --mode <val>` | Deploy TT CSP directive |
| `verify --url <val>` | Verify Trusted Types enforcement |
| `report --url <val> --format <val>` | Generate TT implementation report |

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `--url` | string | Yes | Url parameter |
| `--policy` | string | Yes | Policy parameter |
| `--mode` | string | Yes | Mode parameter |
| `--format` | string | Yes | Format parameter |
