aethis_discover_sections
Analyse source legislation or guidance text to identify which sections should become separate rule sets. Run before creating projects to confirm section boundaries.
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.
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": {
"domain": "<domain>",
"sources": "<sources>"
},
"name": "aethis_discover_sections"
}
}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: OpenAI credentials are not accepted for authoring. | |
| 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. |