aethis_generate_and_test
Generate rules from source text, poll generation to completion, run all test cases, and return pass/fail results with regression detection.
Instructions
Generate rules from source text and run all test cases. Triggers generation, polls until complete, then runs tests. Returns pass/fail with regression detection. Usually takes 60-120 seconds; if polling times out, use aethis_generation_status before retrying, and aethis_cancel_generation only when the caller wants to stop the run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| openai_key | No | Retired and refused: Aethis LLM tools use Anthropic models only. | |
| project_id | Yes | The project ID | |
| anthropic_key | No | An Anthropic API key the user explicitly provided for this call. [sensitive — do not echo or log] Deprecated: the raw value is written verbatim to the host's session transcript. Never fill this from the environment. | |
| anthropic_key_env | No | Optional. Only honoured when it equals the env var the user configured via AETHIS_ANTHROPIC_KEY_ENV in this MCP server's config; that configured key is used automatically, so this can be omitted. Do not guess a variable name: the server refuses any name the user did not configure. | |
| anthropic_key_keychain | No | macOS keychain reference the user created for Aethis: either 'service:account' or just 'account' (service defaults to 'aethis-anthropic-key'). The server reads it via the `security` command at call time. |