akb_export
Export an entire vault as a portable knowledge bundle in OKF format, returning a path-to-content map. Converts tables and files into concept documents with resource pointers.
Instructions
Export an entire vault as a portable knowledge bundle. Returns the bundle inline as a {path: content} map. The format parameter selects the on-disk format — currently 'okf' (Open Knowledge Format: markdown + YAML frontmatter, the only required field being type). Documents export 1:1; tables and files become OKF concept documents (schema / metadata + a resource pointer — the rows/bytes stay in AKB). Reader role required. For a downloadable zip, use the REST endpoint GET /api/v1/vaults/{vault}/export.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"vault": "<vault>"
},
"name": "akb_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault | Yes | Vault to export | |
| format | No | Bundle format. Currently only 'okf'. | okf |