Tool Reference
Currently includes 39 tools.
Source data: tools.json
Tool Overview
| Name | Description |
|---|---|
auth | CloudBase (Tencent Cloud Development) development stage login and environment binding. After logging in, you can access cloud resources; an environment (env) is an isolation unit for cloud functions, databases, static hosting and other resources. After binding the environment, other MCP tools can operate on that environment. Supports: query status, initiate login, bind environment (set_env), logout. |
envQuery | Query CloudBase environment related information, supports querying environment list, current environment information, security domains and static website hosting configuration. (Original tool names: listEnvs/getEnvInfo/getEnvAuthDomains/getWebsiteConfig, these names can still be used for compatibility with old AI rules) |
envDomainManagement | Manage CloudBase environment security domains, supports add and delete operations. (Original tool names: createEnvDomain/deleteEnvDomain, these names can still be used for compatibility with old AI rules) |
readNoSqlDatabaseStructure | Read NoSQL database structure |
writeNoSqlDatabaseStructure | Modify NoSQL database structure |
readNoSqlDatabaseContent | Query and get NoSQL database data records |
writeNoSqlDatabaseContent | Modify NoSQL database data records |
executeReadOnlySQL | Execute a read-only SQL query on the SQL database. Note: For per-user ACL, each table should contain a fixed `_openid` column defined as `_openid VARCHAR(64) DEFAULT '' NOT NULL` that represents the user and is used for access control. |
executeWriteSQL | Execute a write SQL statement on the SQL database (INSERT, UPDATE, DELETE, etc.). Whenever you create a new table, you **must** include a fixed `_openid` column defined as `_openid VARCHAR(64) DEFAULT '' NOT NULL` that represents the user and is used for access control. |
manageDataModel | Data model query tool, supports querying and listing data models (read-only operations). Through the action parameter to distinguish operation type: list=get model list (no Schema, optional names parameter to filter), get=query single model details (with Schema field list, format, relationships, etc., need to provide name parameter), docs=generate SDK usage documentation (need to provide name parameter) |
modifyDataModel | Create or update data model based on Mermaid classDiagram. Supports creating new models and updating existing model structures. Built-in async task monitoring, automatically polls until completion or timeout. |
getFunctionList | Get cloud function list or single function details. Through the action parameter to distinguish operation type: list=get function list (default, no additional parameters needed), detail=get function details (need to provide name parameter to specify function name, returned result includes Layers information bound to the function) |
createFunction | Create cloud function. Cloud functions are divided into Event cloud functions and HTTP cloud functions. Supported runtimes: - Event functions: Node.js, Python, PHP, Java, Go - HTTP functions: All languages (through scf_bootstrap startup script) Note: Runtime cannot be modified after creation, please choose carefully. |
updateFunctionCode | Update existing function code. Note: This tool is only for updating code, does not support modifying function configuration (such as runtime). If you need to modify runtime, delete the function and use createFunction to recreate. |
updateFunctionConfig | Update cloud function configuration |
invokeFunction | Invoke cloud function |
getFunctionLogs | Get cloud function log basic information (LogList), if log details are needed, use RequestId to call getFunctionLogDetail tool. This interface is based on manager-node 4.4.0+ getFunctionLogsV2 implementation, does not return specific log content. Parameter offset+limit must not exceed 10000, startTime/endTime interval must not exceed one day. |
getFunctionLogDetail | Query log details based on RequestId returned by getFunctionLogs. Parameters startTime, endTime, requestId, returns log content (LogJson, etc.). Only supports manager-node 4.4.0+. |
manageFunctionTriggers | Create or delete cloud function triggers, distinguish operation type through action parameter |
readFunctionLayers | Query cloud function layers and function layer configuration. Distinguish operations through action parameter: listLayers=query layer list, listLayerVersions=query version list of specified layer, getLayerVersion=query layer version details (including download link/metadata), getFunctionLayers=query layers currently bound to specified function. Return format: JSON containing success, data (containing action and corresponding result fields), message; data.layers or data.layerVersions is an array; for getFunctionLayers, each element in data.layers is an object with LayerName and LayerVersion fields. |
writeFunctionLayers | Manage cloud function layers and function layer bindings. Distinguish operations through action parameter: createLayerVersion=create layer version, deleteLayerVersion=delete layer version, attachLayer=add binding layer for function, detachLayer=unbind function layer, updateFunctionLayers=update function layer array to adjust order or batch update. Return format: JSON containing success, data (containing action and result fields such as layerVersion, layers), message, nextActions (suggested next operations). |
uploadFiles | Upload files to static website hosting. Please complete the build before deployment; if the site will be deployed to a subpath, check if publicPath, base, assetPrefix, etc. in the build configuration use relative paths to avoid static resource loading failures. |
deleteFiles | Delete static website hosting files or folders |
findFiles | Search static website hosting files |
domainManagement | Unified domain management tool, supports binding, unbinding, querying and modifying domain configuration |
queryStorage | Query cloud storage information, supports listing directory files, getting file information, getting temporary download links and other read-only operations. Returned file information includes file name, size, modification time, download link, etc. |
manageStorage | Manage cloud storage files, supports uploading files/directories, downloading files/directories, deleting files/directories and other operations. Delete operation requires setting force=true for confirmation to prevent accidental deletion of important files. |
downloadTemplate | Automatically download and deploy CloudBase project templates. ⚠️ **MANDATORY FOR NEW PROJECTS** ⚠️ **CRITICAL**: This tool MUST be called FIRST when starting a new project. Supported templates: - react: React + CloudBase full-stack application template - vue: Vue + CloudBase full-stack application template - miniprogram: WeChat Mini Program + CloudBase template - uniapp: UniApp + CloudBase cross-platform application template - rules: Only includes AI editor configuration files (includes all mainstream editor configurations such as Cursor, WindSurf, CodeBuddy, etc.), suitable for supplementing AI editor configuration in existing projects Supported IDE types: - all: Download all IDE configurations - cursor: Cursor AI editor - Other IDE types see list below Note: If ide parameter is not passed and IDE cannot be detected from environment, an error will be prompted and require passing ide parameter - windsurf: WindSurf AI editor - codebuddy: CodeBuddy AI editor - claude-code: Claude Code AI editor - cline: Cline AI editor - gemini-cli: Gemini CLI - opencode: OpenCode AI editor - qwen-code: Tongyi Lingma - baidu-comate: Baidu Comate - openai-codex-cli: OpenAI Codex CLI - augment-code: Augment Code - github-copilot: GitHub Copilot - roocode: RooCode AI editor - tongyi-lingma: Tongyi Lingma - trae: Trae AI editor - qoder: Qoder AI editor - antigravity: Google Antigravity AI editor - vscode: Visual Studio Code - kiro: Kiro AI editor - aider: Aider AI editor Special notes: - rules template will automatically include current mcp version information (version: 2.14.2) for subsequent maintenance and version tracking - When downloading rules template, if README.md file already exists in the project, the system will automatically protect the file from being overwritten (unless overwrite=true is set) |
interactiveDialog | Unified interactive dialog tool, supports requirement clarification and task confirmation. When you need to confirm the next operation with the user, you can call the clarify of this tool. If there are sensitive operations that require user confirmation, you can call the confirm of this tool |
searchWeb | Use internet connection for information retrieval, such as querying latest news, articles, stock prices, weather, etc. Supports natural language queries, can also directly input URL to get webpage content |
searchKnowledgeBase | CloudBase knowledge base intelligent retrieval tool, supports vector query (vector), fixed document (doc) and OpenAPI document (openapi) queries. It is strongly recommended to always prioritize using fixed document (doc) or OpenAPI document (openapi) mode for retrieval, only use vector query (vector) mode when fixed documents cannot cover your question. Fixed document (doc) query currently supports 22 fixed documents. Document name: ai-model-nodejs - Use this skill when developing Node.js backend services or CloudBase cloud functions (Express/Koa/NestJS, serverless, backend APIs) that need AI capabilities. Document name: ai-model-web - Use this skill when developing browser/Web applications (React/Vue/Angular, static websites, SPAs) that need AI capabilities. Document name: ai-model-wechat - Use this skill when developing WeChat Mini Programs that need AI capabilities. Document name: auth-http-api - Use for implementing CloudBase Auth v2 over HTTP. Document name: auth-nodejs - Complete guide for CloudBase Auth using Node SDK. Document name: auth-tool - Use to configure and manage authentication providers. Document name: auth-web - CloudBase Web Authentication Quick Guide. Document name: auth-wechat - Complete guide for WeChat Mini Program authentication. Document name: cloud-functions - Complete guide for CloudBase cloud functions development. Document name: cloud-storage-web - Complete guide for CloudBase cloud storage using Web SDK. Document name: cloudbase-platform - CloudBase platform knowledge and best practices. Document name: cloudrun-development - CloudBase Run backend development rules. Document name: data-model-creation - Optional advanced tool for complex data modeling. Document name: http-api - Use CloudBase HTTP API to access CloudBase features. Document name: miniprogram-development - WeChat Mini Program development rules. Document name: no-sql-web-sdk - Use CloudBase document database Web SDK. Document name: no-sql-wx-mp-sdk - Use CloudBase document database WeChat SDK. Document name: relational-database-tool - Documentation for relational database operations. Document name: relational-database-web - Use for frontend Web apps with CloudBase Relational Database. Document name: spec-workflow - Standard software engineering workflow. Document name: ui-design - Professional UI design guidelines. Document name: web-development - Web frontend project development rules. |
queryCloudRun | Query cloud hosting service information, supports getting service list, querying service details and getting available template list. Returned service information includes service name, status, access type, configuration details, etc. |
manageCloudRun | Manage cloud hosting services, supports in development order: initialize project (can start from template, template list can be queried through queryCloudRun), download service code, run locally (function mode services only), deploy code, delete service. Deployment can configure CPU, memory, instance count, access type and other parameters. Delete operation requires confirmation, it is recommended to set force=true. |
createFunctionHTTPAccess | Create cloud function HTTP access |
downloadRemoteFile | Download remote file to specified relative path under project root directory. For example: Mini program Tabbar and other material images must use **png** format, can choose from Unsplash, wikimedia [generally choose 500 size], Pexels, Apple official UI and other resources to download. |
readSecurityRule | Read security rules and permission categories for specified resources (noSQL database, SQL database, cloud function, storage bucket). |
writeSecurityRule | Set security rules for specified resources (database collection, cloud function, storage bucket). |
activateInviteCode | CloudBase AI programming incentive program, activate user incentives through invite code. |
callCloudApi | Call CloudBase platform API directly, supports all CloudBase services (database, storage, functions, authentication, etc.). Accepts native CloudBase API parameters. |