Loading...
Loading...
This is the required documentation for agents operating on the CloudBase Relational Database. It lists the only four supported tools for running SQL and managing security rules. Read the full content to understand why you must NOT use standard Application SDKs and how to safely execute INSERT, UPDATE, or DELETE operations without corrupting production data.
npx skill4agent add tencentcloudbase/awesome-cloudbase-examples relational-database-mcp-cloudbaseexecuteReadOnlySQLexecuteWriteSQLreadSecurityRulewriteSecurityRuleexecuteReadOnlySQLexecuteWriteSQLreadSecurityRulewriteSecurityRuleexecuteReadOnlySQLSELECTSELECT id, email FROM users WHERE active = true ORDER BY created_at DESC LIMIT 50;executeWriteSQLINSERTUPDATEDELETECREATE TABLEALTER TABLEDROP TABLE_openid_openid VARCHAR(64) DEFAULT '' NOT NULL💡 Note about: When a user is logged in, the_openidfield is automatically populated by the server with the current user's identity. You do NOT need to manually set this field in INSERT operations - the server will fill it automatically based on the authenticated user's session._openid
SELECTexecuteReadOnlySQLreadSecurityRuleREADONLYPRIVATEADMINWRITEADMINONLYCUSTOMwriteSecurityRuleREADONLYPRIVATECUSTOMexecuteReadOnlySQLSELECTLIMITexecuteReadOnlySQLCREATE TABLEALTER TABLEexecuteWriteSQLSELECTreadSecurityRuleREADONLYPRIVATEwriteSecurityRule