Metis — Export Background Pack
export_background_packWrite a pack.json manifest for an installed background layer so another machine can install it. Records layer identity and document names without copying PDFs; local files get empty URLs to fill in.
Instructions
Write a pack manifest for one of your installed background layers.
Produces the `pack.json` another machine (or another person) can install from.
It records the layer's identity and the documents it contains BY NAME; it does
not copy the PDFs, and it cannot invent a download URL for a file that came off
your own disk — those entries are written with an empty url and must be filled
in before the pack can be installed elsewhere. Saying so is the point: a
manifest that silently omitted them would look complete and install empty.
Args:
database: The layer's slug (e.g. 'ntd').
out_dir: Where to write it. Defaults to backgrounds/<slug>/ in the repo.
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": {
"database": "<database>"
},
"name": "export_background_pack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out_dir | No | ||
| database | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |