Tencent Cloud CLI
$ tccli Official High RiskTencent Cloud CLI (tccli) exposes Tencent Cloud API 3.0 services with default JSON output, JMESPath --filter selection, --generate-cli-skeleton request templates, --cli-input-json, and named --profile configs.
pip install tccli tccli mirrors Tencent Cloud API 3.0 with --generate-cli-skeleton and --filter, making direct CLI calls straightforward for agents.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Default JSON output, --filter projection, and --generate-cli-skeleton follow AWS-like conventions well suited for agents.
- Supports default JSON output,
--filter, and--generate-cli-skeleton
Named --profile separation and CAM keys help isolate environments, though a global --dry-run flag is absent.
- Profile isolation via
~/.tccli/and--profile
Distributed via PyPI (pip install tccli) and standalone binaries, though Python packaging is slightly heavier than Go CLIs.
- PyPI
tcclipackage and GitHub binary releases
Broad Tencent Cloud API 3.0 coverage with --cli-input-json support.
- Covers Tencent Cloud API 3.0 services with
--filter
Official TencentCloud/tencentcloud-cli repository maintained by Tencent Cloud.
- Official
TencentCloud/tencentcloud-cliunder Apache-2.0
Supports tccli <service> <action> help, though English docs are thinner than Chinese docs.
- Built-in
helpsubcommands and Tencent Cloud docs
Security, Auth & Guardrails
Stores profiles in ~/.tccli/ (*.credential and *.configure), or reads TENCENTCLOUD_SECRET_ID, TENCENTCLOUD_SECRET_KEY, and TENCENTCLOUD_REGION.
CLI is free (Apache-2.0); API mutations can create billable Tencent Cloud resources.
# tccli Agent Rules - Always pin `--profile` and `--region` on every `tccli` invocation. - Use `--generate-cli-skeleton` before constructing complex write payloads. - Restrict agents to read-only CAM policies when auditing resources.
Agent-Ready Command Recipes
Safe Read-Only Queries
--filter projection tccli cvm DescribeInstances --region ap-guangzhou --filter 'InstanceSet[].[InstanceId,InstanceName,InstanceState]'
Emits JSON by default and uses --filter to shrink instance payloads.
tccli cvm DescribeInstances --generate-cli-skeleton
Outputs the exact JSON input schema without calling remote APIs.
Strengths for Agents
- + Outputs JSON by default and supports JMESPath
--filterprojection. - +
--generate-cli-skeletonand--cli-input-jsonstreamline structured payloads. - + Simple
pip install tccliinstallation.
Caveats & Pitfalls
- ! No universal
--dry-runflag across Tencent Cloud services. - ! English documentation and examples are sparser than Chinese documentation.