query
Ask Enhanciar a natural-language question grounded in the key's workspace.
This is the high-level tool — use it for any "what does X do", "why did we choose Y", "where is Z handled" question. It runs the full retrieval + synthesis pipeline and returns the answer plus citations.
Args:
question: Natural-language question.
model: Optional model id override (gemini-2.5-flash,
gpt-4o, claude-sonnet-4-5, etc.). If omitted the
saved default is used — the workspace's in a team workspace,
the caller's own in a personal one.
Returns {answer, sources, model} — sources is a list of
{category, name, url} citations the LLM grounded its answer
in. Surface them to the human so they can verify. When the workspace
has nothing ingested at all you get {answer, empty_brain: true}
and no sources: that is a statement about the workspace, not a failed
search, so rephrasing the question will not change it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| question | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||