local
Move, copy, or view LinkLore projects stored on your own disk. Works across lore and doc projects you own.
Instructions
local(action, id, to='workspace-path', from_dir='') — directly operate on another LinkLore project on the same disk (works on both lore and doc).
action='move' move to another workspace (source deleted; createdAt/files/tags/level/status/body/items preserved) action='copy' copy to another workspace (source kept, same id retained — rejected if the target already has it) action='show' view another workspace's content (read-only, from_dir required — query/tag/type/status passed through) ⚠️ For 2+ items, the default is preview only — use confirm=True to execute (a single item runs immediately). cf. sharing across a server/team is the openbox (send/import) — local() never talks to a backend, it only works within your own disk. ⚠️ only between projects you own — if the target is genuinely someone else's/another team's, don't use local() just because you have filesystem access; go through send() (the recipient must import() — a review gate).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| to | No | ||
| tag | No | ||
| help | No | ||
| type | No | ||
| query | No | ||
| action | No | ||
| status | No | ||
| confirm | No | ||
| from_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |