Reason About Objective
chaoscore_reasonAnalyze an objective and its context to identify key considerations, risks, and a recommended approach before planning. Uses the active AI provider to produce this structured analysis.
Instructions
Analyze an objective and its context BEFORE committing to a plan (the Intent Analyzer stage of the Cognitive Core loop: objective -> context -> AI planning -> policy -> capability execution -> evaluation -> result). Uses whichever AI provider is currently active (see chaoscore_inspect target="providers") to produce structured analysis: key considerations, risks, and a recommended approach.
Does NOT produce an executable plan or take any action — call chaoscore_plan next for that.
Args:
objective (string): The goal or question to reason about
context (array): Background info as [{source, content}, ...]. Empty array if none.
reasoning_effort (optional): Override the active provider's default reasoning effort ('none'|'low'|'medium'|'high'|'xhigh'|'max')
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: For JSON format: { "objective": string, "analysis": string, "keyConsiderations": string[], "risks": string[], "recommendedApproach": string, "model": string, "providerId": string }
Examples:
Use when: "Should I migrate memory storage before or after the staging cutover?" -> reason about tradeoffs first
Don't use when: You already know the approach and just need an executable plan -> use chaoscore_plan directly
Error Handling:
Returns "Error: OPENAI_API_KEY is not set" (or the active provider's equivalent) if the provider isn't configured
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Relevant background information to ground the reasoning/plan. Empty array if none. | |
| objective | Yes | The goal or question to reason about | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |
| reasoning_effort | No | Override the active provider's default reasoning effort for this call |