aethis_refine
Refine an existing published ruleset: add optional feedback, make the minimal edit to fix failing tests while keeping passing tests green, then re-run the full suite.
Instructions
Refine an existing published ruleset: add optional feedback, then make the MINIMAL edit to fix failing test cases while keeping passing tests green, and re-run the full suite (seed-from-existing incremental re-authoring). Use this to fix a specific finding without re-authoring the whole section; use aethis_generate_and_test for a from-scratch rebuild.
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_refine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional authoring model | |
| feedback | No | Optional correction or domain knowledge to add before regenerating | |
| 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. |