get_call_faq
Get answers to common questions about building chat applications with audio and video features on mobile, web, React, and Vue platforms.
Instructions
This is a tool specifically designed to solve common problems with the Call audio and video call app. Through the tool, you can get the following: | 这是一个专门负责解决 Call 音视频通话应用常见问题的工具,通过工具您可以获取以下内容:
Get answers to frequently asked questions about building chat apps on mobile (native), web, react, vue, and other related platforms or frameworks. | 1. 可以获取到移动端(native)、web 端 react、vue 等相关平台或框架搭建聊天应用的常见问题解答。
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | Please describe your issue. | 请描述你的问题 | |
| sdkAppId | Yes | Your application's SDKAppID. | 您的应用的 SDKAppID |
Implementation Reference
- tools/call/get-call-faq.js:22-29 (handler)The handler function executed when the get_call_faq tool is called. It returns a standardized content response containing the FAQ text generated by getResultText.
}, (params) => ({ content: [ { type: 'text', text: getResultText(params), } ] })); - tools/call/get-call-faq.js:20-21 (schema)Zod-based input schema defining the expected parameters: question and sdkAppId.
question: z.string().describe('Please describe your issue. | 请描述你的问题'), sdkAppId: z.string().describe(`Your application's SDKAppID. | 您的应用的 SDKAppID`) - tools/call/get-call-faq.js:18-30 (registration)Module-level registration function that defines and registers the get_call_faq tool on the MCP server.
const registryGetCallFaqTool = (mcpServer) => { mcpServer.tool('get_call_faq', description, { question: z.string().describe('Please describe your issue. | 请描述你的问题'), sdkAppId: z.string().describe(`Your application's SDKAppID. | 您的应用的 SDKAppID`) }, (params) => ({ content: [ { type: 'text', text: getResultText(params), } ] })); }; - tools/call/get-call-faq.js:8-17 (helper)Helper function that logs usage via Aegis client and retrieves the static FAQ content from documentation.
function getResultText(params) { const { sdkAppId = '', question = '' } = params; aegisClient.report({ name: 'get_call_faq', ext1: sdkAppId, ext2: question, from: 'en', }); return getDocContent(['tuicallkit', 'faq']); } - tools/index.js:44-44 (registration)Global registration call that invokes the module's registry function to add the tool to the main MCP server instance.
registryGetCallFaqTool(mcpServer);