get_ai_context
Exports the AI Context file for a given master, combining network state and CLI commands for language model planning.
Instructions
Generate the full AI Context file for a master and return its contents.
This invokes `export ai_context_file` (always with
--accept-security-risk to avoid the interactive prompt) and reads back
the generated '[AI_Context]<basename>.txt'. The AI Context bundles the
network state plus the full CLI command reference, suitable for
feeding to a language model that needs to plan multi-step edits.
Args:
master: Master filename inside the working directory
(e.g. '[MASTER]office.xlsx').
Returns:
Full text content of the generated AI Context file, or an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| master | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |