@arbol-ai/cli 3.63.0 → 3.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +25 -0
  2. package/dist/index.js +2662 -203
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -136,6 +136,31 @@ or 403; reconcile an uncertain write before repeating it.
136
136
  to a command; it must be an HTTPS origin. Everything else about signing in is discovered from it, and a
137
137
  profile keeps the API it was created for.
138
138
 
139
+ ## Your organization's own servers
140
+
141
+ An organization registers its own servers in Arbol Account as custom connections: an MCP server, or
142
+ an HTTP API its OpenAPI document describes. The API serves each one at routes of its own, and these
143
+ hand-written commands call them with your login:
144
+
145
+ ```sh
146
+ arbol account connections list # the connections and their ids (con_…)
147
+ arbol connections tools list <connectionId> # its tools: name, description, input, read-only or not
148
+ arbol connections tools run <connectionId> buscar_citas --arguments '{"documento":"123"}'
149
+ arbol connections tools run <connectionId> crear_cita --input cita.json
150
+ ```
151
+
152
+ `tools list` reads the connection's MCP endpoint (`POST /v1/connections/{connectionId}/mcp`,
153
+ `tools/list`), which names the tools exactly as the API runs them. `tools run` sends one tool's
154
+ arguments, a JSON object given inline with `--arguments` or read with `--input <file|->`, to
155
+ `POST /v1/connections/{connectionId}/tools/{tool}`, and prints the server's answer as MCP hands it
156
+ over: `content`, and `isError` when the server refused, which also exits nonzero.
157
+
158
+ These routes take a person's login with access to the organization's connections
159
+ (`account:connections:read`, `write` or `operate`). The API does not accept API keys there, so an API
160
+ key profile, `--api-key-stdin` and `ARBOL_API_KEY` are refused before anything is sent. `--dry-run`
161
+ prints the request without reading a credential. A run is sent once and never retried: a tool that
162
+ changes something and gets no answer may still have run, and the CLI says its outcome is unknown.
163
+
139
164
  ## Development
140
165
 
141
166
  ```sh