| name | agentuity-cli-cloud-db-get |
| description | Show details about a specific database. Requires authentication. Use for Agentuity cloud platform operations |
| version | 0.0.103 |
| license | Apache-2.0 |
| allowed-tools | Bash(agentuity:*) |
| argument-hint | <name> |
| metadata | [object Object] |
Cloud Db Get
Show details about a specific database
Prerequisites
- Authenticated with
agentuity auth login - Organization context required (
--org-idor default org)
Usage
agentuity cloud db get <name> [options]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<name> |
string | Yes | - |
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--showCredentials |
boolean | Yes | - | Show credentials in plain text (default: masked in terminal, unmasked in JSON) |
--showTables |
boolean | Yes | - | Fetch table schemas from the database |
--sql |
boolean | Yes | - | Output table schemas as SQL CREATE statements |
Examples
Get database details:
bunx @agentuity/cli cloud db get my-database
Show database information:
bunx @agentuity/cli cloud db show my-database
Get database with credentials:
bunx @agentuity/cli cloud db get my-database --show-credentials
Get table schemas from the database:
bunx @agentuity/cli cloud db get my-database --show-tables
Get table schemas as SQL CREATE statements:
bunx @agentuity/cli cloud db get my-database --show-tables --sql
Get table schemas as JSON:
bunx @agentuity/cli cloud db get my-database --show-tables --json