mimir_federate
Export entities from one workspace, remap their workspace hash, and import into another to share knowledge between agents or projects without manual file transfer.
Instructions
Federate entities from one workspace to another. Exports entities scoped to from_workspace, remaps their workspace_hash to to_workspace, and imports them — effectively copying or moving knowledge between workspaces. Use this for cross-agent or cross-project knowledge sharing without manual file transfer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault_dir | No | Temporary vault directory for the intermediate .md export files | /tmp/mimir-federate |
| to_workspace | Yes | Target workspace hash to import entities into | |
| from_workspace | Yes | Source workspace hash to export entities from |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exported | No | Number of entities exported from the source workspace | |
| imported | No | Number of entities imported into the target workspace | |
| remapped | No | Number of entities whose workspace_hash was remapped | |
| import_errors | No | Any errors encountered during import |