export_index
The files table for a scope as JSON Lines (one file per line), up to 1 MiB inline. For a full SQLite copy with history and links, GET /index/export over HTTP.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Which files to cover: 'mine' (workspaces you belong to), 'store' (the store's listings, as /store shows them), 'public' (every file in public workspaces), 'all' (yours and every public one) or 'registry' (the registry itself: conventions, groups, cells, fields, aspects). | mine |
| api_token | No | Your hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set. | |
| convention | No | Only files following this convention. | |
| workspace_id | No | Export one workspace only (instead of a scope). |