CLI Index CLI Index
← Back

Tencent Cloud CLI

Official

Tencent Cloud's official CLI for managing cloud resources via API 3.0 across all services

Agent Support
3/5
Platforms
macoslinuxwindows
Authentication

API Key — Run tccli configure to set SecretId and SecretKey

Agent Usage Example

shell
tccli cvm DescribeInstances --filter Filters.0.Name=zone --filter Filters.0.Values.0=ap-guangzhou-1 --output json

Installation

pip install tccli

Tencent Cloud CLI (tccli) is the official command-line tool for the Tencent Cloud platform. It integrates with all Tencent Cloud API 3.0 services, including CVM (compute), COS (object storage), TencentDB, CLB (load balancing), VPC, SCF (serverless functions), and TKE (Kubernetes).

For AI agents, the CLI supports multiple output formats — JSON, text, and table — making it straightforward to parse results for downstream processing. Agents can manage cloud resources end-to-end: create and query CVM instances, operate on COS buckets, manage database instances, configure network security groups, and deploy serverless functions. The command structure follows a consistent tccli <service> <action> pattern across all services.

Configuration supports multi-account profiles for switching between different environments. On Linux/Unix systems, the CLI provides command auto-completion for faster interactive use. Note that tccli replaces the deprecated qcloudcli — the older version is no longer maintained.

Related Tools