Agent mode invocation — supports tool calling, automatic planning, and SSE streaming response
user_id is automatically extracted for store isolation)agent — Full capability mode (default)ask — Read-only Q&A mode, write tools disabledplan — Interactive planning modetype field"cloud" — Use cloud sandbox (E2B / OpenSandbox / Daytona)"local" — Use local container (Docker / Apple Containerization), requires working_directory"none" — No code execution environmentsearch_knowledge_base tool is automatically registered[{ role, content, timestamp? }][{ name, content, type }] (e.g. Markdown prompts)[{ name, path, type, size? }][{ id, name, size, type, content }]