cosmosdb_list_accounts
List all Azure Cosmos DB accounts in the current subscription, automatically resolved from the AZURE_SUBSCRIPTION_ID environment variable or active Azure CLI session.
Instructions
List all Azure Cosmos DB accounts in the current subscription.
The subscription is resolved automatically — first from the AZURE_SUBSCRIPTION_ID environment variable, then from the active 'az login' session. If neither is available, an error is returned with instructions.
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": "cosmosdb_list_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |