chat_with_brain
Ask questions to a curated knowledge base (Brain) on BrainTube by providing its URL slug and your query. Optionally include prior chat history for multi-turn conversations. Returns answers with source citations.
Instructions
Ask a question to a public BrainTube Brain (a curated knowledge base built from someone's corpus). Pass the brain_slug (visible in the Brain's URL), your question, and optionally prior chat_history for multi-turn conversations. Returns answer + source citations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | The question to ask the Brain | |
| brain_slug | Yes | URL slug of the Brain to query (e.g. "my-ai-notes") | |
| session_id | No | Session ID from a previous turn — pass to continue the same conversation thread | |
| chat_history | No | Prior turns in the conversation for multi-turn context |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answer | Yes | ||
| sources | No | ||
| session_id | No |