test_fixtures
Create, update, list, delete, and export recorded JWTs, UUIDs, and secrets for pytest/eval runs against auth-gated endpoints; list and audit output masks sensitive values.
Instructions
test_fixtures vault (mirrors the fixtures section of /admin/tests + GET /admin/test-fixtures/export) — real JWTs/UUIDs/secrets an operator records for pytest/eval runs against auth-gated endpoints. jwt/secret kinds are masked "••••" in list output and audit payloads (reuses test_fixtures_handlers.mask verbatim); export reveals real values, same as the .env.test download it mirrors. action: list (env) | create (name, kind, value, description) | update (fixture_id + fields) | delete (fixture_id, confirm=true) | export (env -> {"lines": ["WAJ_TEST<UPPER_NAME>=", ...]}).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "test_fixtures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Config branch: which `environment` rows of the AI config DB to read/write. staging = the editable working set (default); prod = what production serves. | staging |
| kind | No | jwt | uuid | string | json | secret. | |
| name | No | Fixture name (lowercase, underscores). | |
| value | No | Fixture value (stored; masked for jwt/secret). | |
| action | No | Operation to run: list | create | update | delete | export. The tool description lists what each action needs. | list |
| confirm | No | false (default) = dry run, nothing changes; true = execute. | |
| fixture_id | No | test_fixtures UUID. | |
| description | No | Free-text description. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |