add_global
Register a directory globally so its commands load from any working directory; use only when the user explicitly requests a global setup change.
Instructions
Register a directory globally so its commands load from anywhere (same as fire cli global add). Changes the user's global setup: use only when the user asks for it, never on your own initiative.
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": {
"path": "<path>"
},
"name": "add_global"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of the directory (a leading `~` means the home directory). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| path | No | Affected directory (absolute). | |
| error | No | ||
| merged | No | ||
| pruned | No | Directories `prune_global` unregistered. | |
| removed | No | ||
| has_config | No | `false` when the registered directory has no fire config files yet. | |
| registered | No | ||
| already_merged | No | ||
| already_registered | No |