aethis_generate_and_test
Generates rules from source text and runs all test cases, polling until completion, then returns 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>"
},
"name": "aethis_generate_and_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional authoring model | |
| thinking | No | Per-generation thinking: disabled, adaptive, or enabled:N. Omit or null to inherit. | |
| openai_key | No | Retired and refused: OpenAI credentials are not accepted for authoring. | |
| 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. | |
| deepseek_key_env | No | Optional. For deepseek-flash only: must equal the variable explicitly configured in AETHIS_DEEPSEEK_KEY_ENV. Ambient provider keys are never read. | |
| 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. |