import_learnings
Bulk-import operational rules from Markdown or JSON files by parsing headings, bullets, and tables. Deduplicates against existing learnings to prevent duplicates.
Instructions
Bulk-import learnings from a Markdown or JSON file. Parses headings, bullets, and tables to extract operational rules. Supports: (1) Structured Markdown (H2=category, H3=rule, bullets=context), (2) Inline bullets with [category] prefix, (3) JSON arrays of {category, rule, context}. Deduplicates against existing learnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the Markdown (.md) or JSON (.json) file to import from | |
| default_category | No | Default category for rules where category cannot be inferred. Defaults to 'other'. | |
| project | No | Project name to tag all imported learnings with (e.g., 'FC_project') |