bear_context_ingest
Scans inbox directory to list untriaged files with metadata and content preview, enabling review without modification.
Instructions
Scan the inbox/ directory and list all untriaged files. Returns filename, size, content preview (first 500 chars), and any detected YAML front matter for each file. Does NOT modify anything — use bear_context_triage to act on files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- mcp-server/src/tools.ts:1023-1039 (handler)Tool definition and buildArgs for 'bear_context_ingest' — the handler maps to a CLI command 'context ingest --json' that scans the inbox/ directory and lists untriaged files. The execute logic is handled generically in index.ts using buildArgs.
bear_context_ingest: { tool: { name: "bear_context_ingest", description: "Scan the inbox/ directory and list all untriaged files. Returns filename, size, content preview (first 500 chars), and any detected YAML front matter for each file. Does NOT modify anything — use bear_context_triage to act on files.", inputSchema: { type: "object" as const, properties: {}, }, annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, }, }, buildArgs: () => ["context", "ingest", "--json"], },