Connection Commands
Manage database connections and trigger resyncs with the Inconvo CLI.
The inconvo connection commands let you inspect, update, and resync your agent’s database connections.
connection get
Section titled “connection get”Show metadata for a specific connection.
npx inconvo connection get --agent agt_123 --connection conn_456If --connection is omitted, the CLI will prompt you to select from available connections.
Output
Section titled “Output”Connection details:
My Database conn_456 status: ACTIVE owner: My Agent shared: no editable: yesconnection list
Section titled “connection list”List all connections for an agent.
npx inconvo connection list --agent agt_123connection list-shareable
Section titled “connection list-shareable”List connections that can be shared with other agents.
npx inconvo connection list-shareable --agent agt_123connection link
Section titled “connection link”Link a shared connection to an agent.
npx inconvo connection link --agent agt_123 --connection conn_456connection unlink
Section titled “connection unlink”Unlink a shared connection from an agent.
npx inconvo connection unlink --agent agt_123 --connection conn_456connection sync
Section titled “connection sync”Trigger a full database resync for a connection. This re-reads the schema from your database and updates the local .inconvo/ snapshot.
npx inconvo connection sync --agent agt_123 --connection conn_456If --connection is omitted, the CLI will prompt you to select from available connections.
connection update
Section titled “connection update”Update a connection’s description.
# Set a descriptionnpx inconvo connection update --agent agt_123 --connection conn_456 \ --description "Production analytics database"
# Clear the descriptionnpx inconvo connection update --agent agt_123 --connection conn_456 \ --clear-descriptionCommon Options
Section titled “Common Options”All connection commands support these options:
| Option | Description |
|---|---|
--agent <agentId> | Target agent ID |
--connection <connectionId> | Target connection ID |
--json | Print JSON output |
--api-key <apiKey> | API key override |