Cross-Pollinate Knowledge
engram_cross_pollinateReuse a lesson solved in another repository before rebuilding a shared pattern. Unlike engram_recall or engram_smarter, this explicitly excludes target_repo from source searches and adds transfer lessons and quality gates. Returns Markdown with ranked memories and source repos from other authenticated workspace repositories, with optional public knowledge.
source_repos restricts the search; include_public supplements sparse private results. Records retrieval telemetry without copying knowledge. Consumes workspace daily call quota. OAuth: memory:read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Default focused uses a small retrieval budget; deep expands it when focused results are insufficient. An explicit limit overrides the default budget. | |
| limit | No | Maximum retrieved memories, 1–25. Omitted defaults: focused=5, deep=12; explicit values override these defaults. | |
| context | Yes | Natural-language task and relevant facts, e.g. migrate our PostgreSQL schema with zero downtime. Never include credentials or raw customer data. | |
| session_id | No | Exact journal id from start/rehydrate/list_sessions. Disambiguates parallel work; writing requires your active session. Rehydrate may read shared or closed history. | |
| target_repo | Yes | Destination repository slug for the current work; memories from this repo are excluded from the source search. | |
| source_repos | No | Restrict source repositories to these slugs; omit or pass an empty array to search other repositories. | |
| include_public | No | Default true: supplement private results with public knowledge when needed. False searches only other private workspace repositories. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool. | |
| format | Yes | Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text. | |
| truncated | Yes | True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable. |