init
Create a DBA Brain tool root directory, set the app name in config.json, and choose whether existing files are overwritten.
Instructions
dbabrain common.cli init: Create a tool root: the directory, the app name, and whether to overwrite.
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):
root: The directory to initialise; default the current one.
app_name: The app name config.json carries; default dbabrain.
force: Overwrite files that already exist.
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": "init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |