import-data
Applies a bundle to a tool root, either as a dry-run plan or a live import, with optional secret-store and asset writes.
Instructions
dbabrain common.cli import-data: Which bundle to apply to which tool root, as a plan or for real.
Changes or removes something. A command on the emergency-operations list takes confirm: "yes" and a reason in its request, as on the command line.
Request fields (pass them as request):
bundle: The bundle file to read. Required.
root: The tool root to write into; default the one resolved.
plan_only: Report what would be written and change nothing.
force: Replace files that exist with different content.
include_secrets: Write the secret store if the bundle carries one; default true.
include_assets: Write assets/ and data/ssh_keys/; default true.
format: json (the envelope, default) or txt (the lines a person reads).
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": "import-data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |