aethis_discover_sections
Identify logical sections in source legislation before creating projects, so you can author each section as a separate rule ruleset.
Instructions
Discover the logical sections of source legislation for a domain. Provide the raw text of your source documents (legislation, guidance notes, form instructions). The service analyses the content and identifies which sections should be authored as separate rule rulesets. Run BEFORE creating projects — you need to know the sections before you can create one. Call aethis_refine_sections if sections are missing or incorrectly split.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain identifier, e.g. 'uk_citizenship' | |
| sources | Yes | Source documents to analyse. Provide the actual text content. | |
| openai_key | No | Retired and refused: Aethis LLM tools use Anthropic models only. | |
| 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. |