{"id":67144,"date":"2026-01-28T11:25:00","date_gmt":"2026-01-28T03:25:00","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/67144.html"},"modified":"2026-01-28T11:25:00","modified_gmt":"2026-01-28T03:25:00","slug":"clawdbot%e9%9b%86%e6%88%90%e6%95%b0%e7%9c%bc%e6%99%ba%e8%83%bd%e8%81%94%e7%bd%91%e6%90%9c%e7%b4%a2api%e5%ae%8c%e6%95%b4%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/67144.html","title":{"rendered":"Clawdbot\u96c6\u6210\u6570\u773c\u667a\u80fd\u8054\u7f51\u641c\u7d22API\u5b8c\u6574\u6559\u7a0b"},"content":{"rendered":"<p>\u5927\u5bb6\u597d\u554a\u6211\u662f\u83f2\u83f2~~Clawdbot\u4f5c\u4e3a\u5f00\u6e90\u53ef\u672c\u5730\u90e8\u7f72\u7684AI\u79c1\u4eba\u52a9\u7406&#xff0c;\u9ed8\u8ba4\u652f\u6301\u901a\u8fc7\u6280\u80fd\u6269\u5c55\u8054\u7f51\u80fd\u529b\u3002\u672c\u6559\u7a0b\u5c06\u8be6\u7ec6\u6307\u5bfc\u5982\u4f55\u5bf9\u63a5\u6570\u773c\u667a\u80fd\u8054\u7f51\u641c\u7d22API&#xff0c;\u4e3aClawdbot\u8d4b\u4e88\u7cbe\u51c6\u3001\u9ad8\u6548\u7684\u5b9e\u65f6\u7f51\u7edc\u641c\u7d22\u80fd\u529b&#xff0c;\u9002\u7528\u4e8e\u5f00\u53d1\u8005\u3001AI\u667a\u80fd\u4f53\u6784\u5efa\u8005&#xff0c;\u5168\u7a0b\u57fa\u4e8eLinux\u73af\u5883&#xff08;\u865a\u62df\u673a\/\u4e91\u670d\u52a1\u5668&#xff09;\u5b9e\u73b0\u3002<\/p>\n<h3>\u4e00\u3001\u6559\u7a0b\u524d\u7f6e\u51c6\u5907<\/h3>\n<h4>1.1 \u73af\u5883\u4e0e\u5de5\u5177\u8981\u6c42<\/h4>\n<ul>\n<li>\n<p>\u8fd0\u884c\u73af\u5883&#xff1a;Linux\u7cfb\u7edf&#xff08;\u63a8\u8350Ubuntu 22.04 LTS&#xff0c;\u652f\u6301\u865a\u62df\u673a\/\u4e91\u670d\u52a1\u5668\/VPS\u90e8\u7f72&#xff0c;\u5185\u5b58\u22658GB\u3001CPU\u22652\u6838\u3001\u5b58\u50a8\u226530GB\u4ee5\u4fdd\u8bc1\u6d41\u7545\u8fd0\u884c&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u5fc5\u5907\u5de5\u5177&#xff1a;Node.js&#xff08;v22.x\u53ca\u4ee5\u4e0a\u7248\u672c&#xff09;\u3001\u7ec8\u7aef\/SSH\u5de5\u5177\u3001\u6d4f\u89c8\u5668&#xff08;\u8bbf\u95ee\u4eea\u8868\u76d8\u4e0e\u6570\u773c\u5f00\u653e\u5e73\u53f0&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u6838\u5fc3\u8d26\u53f7&#xff1a;\u6570\u773c\u667a\u80fd\u5f00\u53d1\u8005\u8d26\u53f7\u3001Telegram\/Discord\u8d26\u53f7&#xff08;\u7528\u4e8e\u4e0eClawdbot\u4ea4\u4e92&#xff0c;\u63a8\u8350Telegram\u66f4\u6613\u914d\u7f6e&#xff09;<\/p>\n<\/li>\n<\/ul>\n<h4>1.2 \u6838\u5fc3\u8d44\u6e90\u83b7\u53d6<\/h4>\n<p>\u9700\u63d0\u524d\u83b7\u53d6\u4e24\u7c7b\u5173\u952e\u8d44\u6e90&#xff0c;\u907f\u514d\u90e8\u7f72\u4e2d\u65ad&#xff1a;<\/p>\n<li>\n<p>\u6570\u773c\u667a\u80fdAPI\u5bc6\u94a5<\/p>\n<li>\n<p>\u767b\u5f55\u6570\u773c\u667a\u80fd\u5b98\u65b9\u5e73\u53f0&#xff0c;\u5b8c\u6210\u5f00\u53d1\u8005\u8d26\u53f7\u6ce8\u518c\u4e0e\u5b9e\u540d\u8ba4\u8bc1&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u8fdb\u5165\u63a7\u5236\u53f0\u67e5\u770b\u5e76\u590d\u5236api\u3002<\/p>\n<\/li>\n<\/li>\n<li>\n<p>Telegram\u673a\u5668\u4ebaToken&#xff08;\u4ea4\u4e92\u5165\u53e3&#xff09;<\/p>\n<li>\n<p>\u6253\u5f00Telegram&#xff0c;\u641c\u7d22\u5b98\u65b9\u8d26\u53f7&#064;BotFather&#xff0c;\u53d1\u9001\u6307\u4ee4\/newbot&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6309\u63d0\u793a\u8bbe\u7f6e\u673a\u5668\u4eba\u540d\u79f0&#xff08;\u53ef\u4e2d\u6587&#xff09;\u548c\u7528\u6237\u540d&#xff08;\u9700\u82f1\u6587\u4e14\u4ee5bot\u7ed3\u5c3e&#xff0c;\u4e0d\u53ef\u91cd\u590d&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u521b\u5efa\u6210\u529f\u540e&#xff0c;BotFather\u4f1a\u8fd4\u56de\u673a\u5668\u4ebaToken&#xff0c;\u590d\u5236\u4fdd\u5b58\u5907\u7528\u3002<\/p>\n<\/li>\n<\/li>\n<h3>\u4e8c\u3001Clawdbot\u57fa\u7840\u90e8\u7f72<\/h3>\n<p>\u82e5\u5df2\u90e8\u7f72Clawdbot\u53ef\u8df3\u8fc7\u6b64\u6b65\u9aa4&#xff0c;\u76f4\u63a5\u8fdb\u5165API\u96c6\u6210\u73af\u8282&#xff1b;\u672a\u90e8\u7f72\u8005\u6309\u4ee5\u4e0b\u6b65\u9aa4\u5b8c\u6210\u57fa\u7840\u642d\u5efa\u3002<\/p>\n<h4>2.1 \u5b89\u88c5Node.js\u73af\u5883<\/h4>\n<p>\u6253\u5f00Linux\u7ec8\u7aef&#xff0c;\u4f9d\u6b21\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u5e76\u9a8c\u8bc1Node.js&#xff1a;<\/p>\n<p> # \u5b89\u88c5curl\u5de5\u5177&#xff08;\u865a\u62df\u673a\u9996\u6b21\u90e8\u7f72\u53ef\u80fd\u7f3a\u5931&#xff09; sudo apt install curl -y # \u914d\u7f6eNode.js 22.x\u6e90 curl -fsSL https:\/\/deb.nodesource.com\/setup_22.x | sudo -E bash &#8211; # \u5b89\u88c5Node.js sudo apt-get install -y nodejs # \u9a8c\u8bc1\u5b89\u88c5\u6210\u529f&#xff08;\u663e\u793av22.x.x\u5373\u4e3a\u5408\u683c&#xff09; node &#8211;version <\/p>\n<p>2.2 \u4e00\u952e\u5b89\u88c5Clawdbot<\/p>\n<p>\u6267\u884c\u5b98\u65b9\u4e00\u952e\u5b89\u88c5\u811a\u672c&#xff0c;\u81ea\u52a8\u5b8c\u6210Clawdbot\u90e8\u7f72&#xff1a;<\/p>\n<p> curl -fsSL https:\/\/clawd.bot\/install.sh | bash <\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u6267\u884cclawdbot &#8211;version\u9a8c\u8bc1&#xff0c;\u82e5\u663e\u793a\u7248\u672c\u53f7\u5219\u8bf4\u660e\u90e8\u7f72\u6210\u529f\u3002<\/p>\n<h4>2.3 Clawdbot\u57fa\u7840\u914d\u7f6e<\/h4>\n<p>\u901a\u8fc7\u914d\u7f6e\u5411\u5bfc\u5173\u8054\u6a21\u578b\u4e0e\u4ea4\u4e92\u6e20\u9053&#xff0c;\u6b65\u9aa4\u5982\u4e0b&#xff1a;<\/p>\n<p> # \u542f\u52a8\u914d\u7f6e\u5411\u5bfc clawdbot onboard <\/p>\n<li>\n<p>\u6a21\u578b\u914d\u7f6e&#xff1a;\u9009\u62e9\u6570\u773c\u667a\u80fd\u5927\u6a21\u578b&#xff0c;\u8f93\u5165\u5df2\u83b7\u53d6\u7684\u6570\u773c\u5927\u6a21\u578bAPI\u5bc6\u94a5\u4e0e\u5e95\u5ea7\u5730\u5740&#xff0c;\u5b8c\u6210\u5173\u8054&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6e20\u9053\u914d\u7f6e&#xff1a;\u9009\u62e9Telegram&#xff0c;\u7c98\u8d34\u4e4b\u524d\u83b7\u53d6\u7684\u673a\u5668\u4ebaToken&#xff0c;\u6309\u63d0\u793a\u5b8c\u6210\u7ed1\u5b9a&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u914d\u5bf9\u9a8c\u8bc1&#xff1a;\u7ed9Telegram\u673a\u5668\u4eba\u53d1\u9001\u6d88\u606f\u201cHello!\u201d&#xff0c;\u5728\u7ec8\u7aef\u6267\u884cclawdbot pairing approve telegram &lt;\u914d\u5bf9\u7801&gt;&#xff08;\u914d\u5bf9\u7801\u4f1a\u5728\u7ec8\u7aef\u63d0\u793a\u4e2d\u663e\u793a&#xff09;&#xff0c;\u5b8c\u6210\u4ea4\u4e92\u6388\u6743\u3002<\/p>\n<\/li>\n<p>\u6b64\u65f6\u53ef\u901a\u8fc7Telegram\u4e0eClawdbot\u57fa\u7840\u5bf9\u8bdd&#xff0c;\u4e0b\u4e00\u6b65\u5c06\u96c6\u6210\u6570\u773c\u641c\u7d22API\u5b9e\u73b0\u8054\u7f51\u529f\u80fd\u3002<\/p>\n<h3>\u4e09\u3001\u6570\u773c\u667a\u80fd\u641c\u7d22API\u96c6\u6210\u914d\u7f6e<\/h3>\n<p>\u901a\u8fc7\u4fee\u6539Clawdbot\u914d\u7f6e\u6587\u4ef6\u4e0e\u6dfb\u52a0\u81ea\u5b9a\u4e49\u6280\u80fd&#xff0c;\u5b9e\u73b0\u641c\u7d22API\u4e0eAI\u52a9\u7406\u7684\u6df1\u5ea6\u96c6\u6210&#xff0c;\u6838\u5fc3\u662f\u8ba9Clawdbot\u5728\u9700\u8981\u5b9e\u65f6\u4fe1\u606f\u65f6\u81ea\u52a8\u8c03\u7528\u6570\u773c\u641c\u7d22\u63a5\u53e3\u3002<\/p>\n<h4>3.1 \u7f16\u8f91Clawdbot\u914d\u7f6e\u6587\u4ef6<\/h4>\n<p>Clawdbot\u7684\u6838\u5fc3\u914d\u7f6e\u6587\u4ef6\u5b58\u50a8\u5728\u7528\u6237\u76ee\u5f55\u4e0b&#xff0c;\u9700\u6dfb\u52a0\u6570\u773c\u641c\u7d22API\u53c2\u6570&#xff1a;<\/p>\n<p> # \u6253\u5f00\u914d\u7f6e\u6587\u4ef6&#xff08;\u4f7f\u7528nano\u7f16\u8f91\u5668&#xff0c;\u65b0\u624b\u53cb\u597d&#xff09; nano ~\/.clawdbot\/clawdbot.json <\/p>\n<p>\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u6dfb\u52a0\u201cskills\u201d\u8282\u70b9&#xff0c;\u586b\u5165\u6570\u773c\u641c\u7d22API\u4fe1\u606f&#xff0c;\u5b8c\u6574\u914d\u7f6e\u793a\u4f8b\u5982\u4e0b&#xff08;\u53ef\u66ff\u6362\u539f\u6709\u5185\u5bb9\u540e\u4fee\u6539\u5173\u952e\u53c2\u6570&#xff09;&#xff1a;<\/p>\n<p> { &#034;models&#034;: { &#034;providers&#034;: { &#034;shuyan&#034;: { &#034;baseUrl&#034;: &#034;https:\/\/api.shuyanai.com\/v1&#034;, &#034;apiKey&#034;: &#034;\u4f60\u7684\u6570\u773c\u5927\u6a21\u578bAPI\u5bc6\u94a5&#034;, &#034;api&#034;: &#034;openai-messages&#034;, &#034;models&#034;: [ { &#034;id&#034;: &#034;shuyan-pro&#034;, &#034;name&#034;: &#034;\u6570\u773c\u667a\u80fdPro\u6a21\u578b&#034;, &#034;reasoning&#034;: true, &#034;input&#034;: [&#034;text&#034;], &#034;contextWindow&#034;: 200000, &#034;maxTokens&#034;: 4096 } ] } } }, &#034;channels&#034;: { &#034;telegram&#034;: { &#034;enabled&#034;: true, &#034;botToken&#034;: &#034;\u4f60\u7684Telegram\u673a\u5668\u4ebaToken&#034;, &#034;profiles&#034;: [&#034;default&#034;] } }, &#034;agents&#034;: { &#034;defaults&#034;: { &#034;model&#034;: { &#034;primary&#034;: &#034;shuyan\/shuyan-pro&#034; }, &#034;skills&#034;: [ { &#034;name&#034;: &#034;shuyan-search&#034;, &#034;enabled&#034;: true, &#034;config&#034;: { &#034;apiKey&#034;: &#034;\u4f60\u7684\u6570\u773c\u641c\u7d22API\u5bc6\u94a5&#034;, &#034;apiUrl&#034;: &#034;https:\/\/api.shuyanai.com\/search\/v1\/web&#034;, &#034;limit&#034;: 3, &#034;needSearchKeywords&#034;: [&#034;\u6700\u65b0&#034;, &#034;\u4eca\u5929&#034;, &#034;\u73b0\u5728&#034;, &#034;\u6700\u8fd1&#034;, &#034;2026&#034;, &#034;\u4f55\u65f6&#034;, &#034;\u54ea\u91cc&#034;] } } ] } } } <\/p>\n<p>\u914d\u7f6e\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>\n<p>apiKey\u4e0eapiUrl&#xff1a;\u66ff\u6362\u4e3a\u4ece\u6570\u773c\u5f00\u653e\u5e73\u53f0\u83b7\u53d6\u7684\u641c\u7d22API\u5bc6\u94a5\u4e0e\u63a5\u53e3\u5730\u5740&#xff1b;<\/p>\n<\/li>\n<li>\n<p>limit&#xff1a;\u63a7\u5236\u5355\u6b21\u641c\u7d22\u8fd4\u56de\u7ed3\u679c\u6570\u91cf&#xff08;\u5efa\u8bae3-5\u6761&#xff0c;\u907f\u514d\u4fe1\u606f\u5197\u4f59&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>needSearchKeywords&#xff1a;\u89e6\u53d1\u8054\u7f51\u641c\u7d22\u7684\u5173\u952e\u8bcd&#xff0c;\u53ef\u6309\u9700\u6dfb\u52a0\/\u5220\u9664&#xff0c;Clawdbot\u4f1a\u8bc6\u522b\u7528\u6237\u95ee\u9898\u4e2d\u7684\u5173\u952e\u8bcd\u81ea\u52a8\u8c03\u7528\u641c\u7d22\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u4fdd\u5b58\u9000\u51fa&#xff1a;\u6309Ctrl&#043;O\u4fdd\u5b58&#xff0c;\u56de\u8f66\u786e\u8ba4\u6587\u4ef6\u540d&#xff0c;\u518d\u6309Ctrl&#043;X\u9000\u51fa\u7f16\u8f91\u5668\u3002<\/p>\n<h4>3.2 \u6dfb\u52a0\u6570\u773c\u641c\u7d22\u81ea\u5b9a\u4e49\u6280\u80fd<\/h4>\n<p>Clawdbot\u901a\u8fc7\u6280\u80fd\u6269\u5c55\u529f\u80fd&#xff0c;\u9700\u521b\u5efa\u7b80\u5355\u811a\u672c\u5b9e\u73b0\u641c\u7d22API\u8c03\u7528\u4e0e\u7ed3\u679c\u89e3\u6790&#xff0c;\u6b65\u9aa4\u5982\u4e0b&#xff1a;<\/p>\n<p> # \u521b\u5efa\u6280\u80fd\u76ee\u5f55 mkdir -p ~\/.clawdbot\/skills\/shuyan-search # \u65b0\u5efa\u6280\u80fd\u811a\u672c nano ~\/.clawdbot\/skills\/shuyan-search\/index.js <\/p>\n<p>\u7c98\u8d34\u4ee5\u4e0b\u4ee3\u7801&#xff08;\u5df2\u9002\u914d\u6570\u773c\u641c\u7d22API\u683c\u5f0f&#xff0c;\u53ef\u76f4\u63a5\u4f7f\u7528&#xff09;&#xff1a;<\/p>\n<p> const axios &#061; require(&#039;axios&#039;); const json &#061; require(&#039;json5&#039;); module.exports &#061; { name: &#039;shuyan-search&#039;, description: &#039;\u901a\u8fc7\u6570\u773c\u667a\u80fdAPI\u5b9e\u73b0\u8054\u7f51\u641c\u7d22&#xff0c;\u83b7\u53d6\u5b9e\u65f6\u4fe1\u606f&#039;, async execute(agent, query) { \/\/ \u4ece\u914d\u7f6e\u4e2d\u8bfb\u53d6API\u4fe1\u606f const config &#061; agent.config.agents.defaults.skills.find(s &#061;&gt; s.name &#061;&#061;&#061; &#039;shuyan-search&#039;).config; const { apiKey, apiUrl, limit } &#061; config; try { \/\/ \u8c03\u7528\u6570\u773c\u667a\u80fd\u641c\u7d22API const response &#061; await axios.post( apiUrl, json.stringify({ query, limit }), { headers: { &#039;Authorization&#039;: &#096;Bearer ${apiKey}&#096;, &#039;Content-Type&#039;: &#039;application\/json&#039; } } ); \/\/ \u89e3\u6790\u641c\u7d22\u7ed3\u679c const results &#061; response.data.data || []; const parsedResults &#061; results.map(item &#061;&gt; ({ title: item.title || &#039;\u65e0\u6807\u9898&#039;, link: item.url || &#039;\u65e0\u94fe\u63a5&#039;, summary: item.summary || &#039;\u65e0\u6458\u8981&#039; })); \/\/ \u5c06\u7ed3\u679c\u8fd4\u56de\u7ed9Clawdbot&#xff0c;\u4f5c\u4e3a\u4e0a\u4e0b\u6587\u8865\u5145 return { success: true, data: parsedResults, message: &#096;\u5df2\u83b7\u53d6${parsedResults.length}\u6761\u641c\u7d22\u7ed3\u679c&#096; }; } catch (error) { console.error(&#039;\u6570\u773c\u641c\u7d22API\u8c03\u7528\u5931\u8d25&#xff1a;&#039;, error.message); return { success: false, message: &#039;\u8054\u7f51\u641c\u7d22\u5931\u8d25&#xff0c;\u8bf7\u68c0\u67e5API\u5bc6\u94a5\u6216\u7f51\u7edc\u8fde\u63a5&#039; }; } }, \/\/ \u5224\u65ad\u662f\u5426\u9700\u8981\u89e6\u53d1\u641c\u7d22 shouldTrigger(query, config) { const keywords &#061; config.needSearchKeywords || []; return keywords.some(keyword &#061;&gt; query.includes(keyword)); } }; <\/p>\n<p>\u4fdd\u5b58\u9000\u51fa\u540e&#xff0c;\u5b89\u88c5\u6280\u80fd\u4f9d\u8d56&#xff1a;<\/p>\n<p> cd ~\/.clawdbot\/skills\/shuyan-search npm install axios json5 &#8211;save <\/p>\n<h4>3.3 \u91cd\u542fClawdbot\u751f\u6548\u914d\u7f6e<\/h4>\n<p>\u914d\u7f6e\u4e0e\u6280\u80fd\u6dfb\u52a0\u5b8c\u6210\u540e&#xff0c;\u91cd\u542fClawdbot\u4f7f\u53d8\u66f4\u751f\u6548&#xff1a;<\/p>\n<p> # \u505c\u6b62\u5f53\u524dClawdbot\u670d\u52a1 pkill -f clawdbot # \u542f\u52a8\u670d\u52a1\u5e76\u6301\u4e45\u5316\u8fd0\u884c&#xff08;\u786e\u4fdd\u65ad\u5f00\u7ec8\u7aef\u540e\u4ecd\u6b63\u5e38\u5de5\u4f5c&#xff09; loginctl enable-linger $USER clawdbot gateway &#8211;port 18789 &#8211;verbose <\/p>\n<p>\u82e5\u7ec8\u7aef\u663e\u793a\u201cGateway started on port 18789\u201d&#xff0c;\u8bf4\u660e\u91cd\u542f\u6210\u529f&#xff0c;\u53ef\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95eehttp:\/\/127.0.0.1:18789\u8fdb\u5165Clawdbot\u4eea\u8868\u76d8&#xff0c;\u67e5\u770b\u6280\u80fd\u52a0\u8f7d\u72b6\u6001\u3002<\/p>\n<h3>\u56db\u3001\u529f\u80fd\u6d4b\u8bd5\u4e0e\u95ee\u9898\u6392\u67e5<\/h3>\n<h4>4.1 \u8054\u7f51\u641c\u7d22\u529f\u80fd\u6d4b\u8bd5<\/h4>\n<p>\u6253\u5f00Telegram&#xff0c;\u627e\u5230\u5df2\u7ed1\u5b9a\u7684Clawdbot&#xff0c;\u53d1\u9001\u542b\u89e6\u53d1\u5173\u952e\u8bcd\u7684\u95ee\u9898&#xff0c;\u4f8b\u5982&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u201c2026\u5e74\u6700\u65b0\u6625\u8282\u6863\u7535\u5f71\u6709\u54ea\u4e9b&#xff1f;\u201d<\/p>\n<\/li>\n<li>\n<p>\u201c\u6700\u8fd1\u4eba\u5de5\u667a\u80fd\u9886\u57df\u7684\u91cd\u5927\u7a81\u7834\u662f\u4ec0\u4e48&#xff1f;\u201d<\/p>\n<\/li>\n<\/ul>\n<p>\u6b63\u5e38\u60c5\u51b5\u4e0b&#xff0c;Clawdbot\u4f1a\u81ea\u52a8\u8c03\u7528\u6570\u773c\u641c\u7d22API\u83b7\u53d6\u5b9e\u65f6\u4fe1\u606f&#xff0c;\u6574\u5408\u540e\u8fd4\u56de\u5e26\u6458\u8981\u3001\u94fe\u63a5\u7684\u56de\u7b54&#xff1b;\u82e5\u65e0\u9700\u8054\u7f51&#xff08;\u5982\u201c1&#043;1\u7b49\u4e8e\u51e0\u201d&#xff09;&#xff0c;\u5219\u76f4\u63a5\u901a\u8fc7\u5927\u6a21\u578b\u56de\u590d\u3002<\/p>\n<h4>4.2 \u5e38\u89c1\u95ee\u9898\u6392\u67e5<\/h4>\n<li>\n<p>API\u8c03\u7528\u5931\u8d25&#xff1a;\u68c0\u67e5\u914d\u7f6e\u6587\u4ef6\u4e2dAPI\u5bc6\u94a5\u3001\u63a5\u53e3\u5730\u5740\u662f\u5426\u6b63\u786e&#xff0c;\u6570\u773c\u5f00\u653e\u5e73\u53f0\u662f\u5426\u5b8c\u6210\u5b9e\u540d\u8ba4\u8bc1&#xff08;\u672a\u8ba4\u8bc1\u53ef\u80fd\u9650\u5236API\u8c03\u7528&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6280\u80fd\u672a\u52a0\u8f7d&#xff1a;\u786e\u8ba4\u6280\u80fd\u76ee\u5f55\u8def\u5f84\u6b63\u786e&#xff08;~\/.clawdbot\/skills\/shuyan-search&#xff09;&#xff0c;\u4f9d\u8d56\u5305\u5df2\u5b89\u88c5&#xff0c;\u53ef\u901a\u8fc7\u4eea\u8868\u76d8\u201c\u65e5\u5fd7\u201d\u67e5\u770b\u52a0\u8f7d\u9519\u8bef\u4fe1\u606f&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u65e0\u6cd5\u89e6\u53d1\u641c\u7d22&#xff1a;\u68c0\u67e5\u914d\u7f6e\u6587\u4ef6\u4e2d\u201cneedSearchKeywords\u201d\u662f\u5426\u5305\u542b\u7528\u6237\u95ee\u9898\u4e2d\u7684\u5173\u952e\u8bcd&#xff0c;\u53ef\u9002\u5f53\u6269\u5145\u5173\u952e\u8bcd\u8303\u56f4&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u670d\u52a1\u4e2d\u65ad&#xff1a;\u4f7f\u7528clawdbot gateway &#8211;port 18789 &#8211;verbose\u524d\u53f0\u8fd0\u884c&#xff0c;\u67e5\u770b\u5b9e\u65f6\u62a5\u9519&#xff0c;\u6392\u67e5\u7aef\u53e3\u5360\u7528\u6216\u7f51\u7edc\u95ee\u9898\u3002<\/p>\n<\/li>\n<h3>\u4e94\u3001\u5b89\u5168\u4e0e\u4f18\u5316\u5efa\u8bae<\/h3>\n<ul>\n<li>\n<p>\u5b89\u5168\u9632\u62a4&#xff1a;Clawdbot\u62e5\u6709\u7cfb\u7edf\u8bbf\u95ee\u6743\u9650&#xff0c;\u5efa\u8bae\u901a\u8fc7\u865a\u62df\u673a\/\u6c99\u76d2\u73af\u5883\u90e8\u7f72&#xff0c;\u907f\u514d\u4f7f\u7528\u4e3b\u7cfb\u7edf&#xff1b;\u6570\u773cAPI\u5bc6\u94a5\u59a5\u5584\u4fdd\u7ba1&#xff0c;\u52ff\u6cc4\u9732\u7ed9\u7b2c\u4e09\u65b9&#xff0c;\u53ef\u5b9a\u671f\u5728\u5f00\u653e\u5e73\u53f0\u91cd\u7f6e\u5bc6\u94a5&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6027\u80fd\u4f18\u5316&#xff1a;\u8c03\u6574\u641c\u7d22\u7ed3\u679c\u6570\u91cf&#xff08;limit\u53c2\u6570&#xff09;&#xff0c;\u907f\u514d\u8fc7\u591a\u7ed3\u679c\u5360\u7528\u4e0a\u4e0b\u6587\u7a97\u53e3&#xff1b;\u4e91\u670d\u52a1\u5668\u90e8\u7f72\u53ef\u5f00\u542f\u9632\u706b\u5899&#xff0c;\u4ec5\u5f00\u653e18789\u7aef\u53e3&#xff08;\u4eea\u8868\u76d8\u8bbf\u95ee&#xff09;\u4e0e\u5fc5\u8981\u4ea4\u4e92\u7aef\u53e3&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u529f\u80fd\u6269\u5c55&#xff1a;\u53ef\u5728\u6280\u80fd\u811a\u672c\u4e2d\u6dfb\u52a0\u7ed3\u679c\u8fc7\u6ee4\u903b\u8f91&#xff0c;\u4f18\u5148\u5c55\u793a\u6743\u5a01\u6765\u6e90\u4fe1\u606f&#xff1b;\u7ed3\u5408Clawdbot\u5176\u4ed6\u6280\u80fd&#xff08;\u5982\u90ae\u4ef6\u3001\u65e5\u5386&#xff09;&#xff0c;\u5b9e\u73b0\u641c\u7d22\u7ed3\u679c\u7684\u81ea\u52a8\u5316\u5e94\u7528&#xff08;\u5982\u5c06\u91cd\u8981\u65b0\u95fb\u53d1\u9001\u81f3\u90ae\u7bb1&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4&#xff0c;\u5373\u53ef\u5b8c\u6210Clawdbot\u4e0e\u6570\u773c\u667a\u80fd\u641c\u7d22API\u7684\u96c6\u6210&#xff0c;\u8ba9AI\u52a9\u7406\u5177\u5907\u5b9e\u65f6\u8054\u7f51\u80fd\u529b&#xff0c;\u9002\u7528\u4e8e\u4fe1\u606f\u67e5\u8be2\u3001\u4ef7\u683c\u5bf9\u6bd4\u3001\u70ed\u70b9\u8ffd\u8e2a\u7b49\u591a\u79cd\u573a\u666f\u3002\u5982\u9700\u8fdb\u4e00\u6b65\u4f18\u5316\u6280\u80fd\u903b\u8f91\u6216\u914d\u7f6e\u7ec6\u8282&#xff0c;\u53ef\u53c2\u8003\u6570\u773c\u667a\u80fdAPI\u5b98\u65b9\u6587\u6863\u4e0eClawdbot\u6280\u80fd\u5f00\u53d1\u6307\u5357\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u5bb6\u597d\u554a\u6211\u662f\u83f2\u83f2~~Clawdbot\u4f5c\u4e3a\u5f00\u6e90\u53ef\u672c\u5730\u90e8\u7f72\u7684AI\u79c1\u4eba\u52a9\u7406&#xff0c;\u9ed8\u8ba4\u652f\u6301\u901a\u8fc7\u6280\u80fd\u6269\u5c55\u8054\u7f51\u80fd\u529b\u3002\u672c\u6559\u7a0b\u5c06\u8be6\u7ec6\u6307\u5bfc\u5982\u4f55\u5bf9\u63a5\u6570\u773c\u667a\u80fd\u8054\u7f51\u641c\u7d22API&#xff0c;\u4e3aClawdbot\u8d4b\u4e88\u7cbe\u51c6\u3001\u9ad8\u6548\u7684\u5b9e\u65f6\u7f51\u7edc\u641c\u7d22\u80fd\u529b&#xff0c;\u9002\u7528\u4e8e\u5f00\u53d1\u8005\u3001AI\u667a\u80fd\u4f53\u6784\u5efa\u8005&#xff0c;\u5168\u7a0b\u57fa\u4e8eLinux\u73af\u5883&#xff08;\u865a\u62df\u673a\/\u4e91\u670d\u52a1\u5668&#xff09;\u5b9e\u73b0\u3002<br \/>\n\u4e00\u3001\u6559\u7a0b\u524d\u7f6e\u51c6\u5907<br \/>\n1.1 \u73af\u5883\u4e0e\u5de5\u5177\u8981\u6c42 \u8fd0\u884c\u73af\u5883&#xff1a;Linux\u7cfb\u7edf&#xff08;\u63a8\u8350Ubunt<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[50,87,323,100,487],"topic":[],"class_list":["post-67144","post","type-post","status-publish","format-standard","hentry","category-server","tag-50","tag-87","tag-323","tag-100","tag-487"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Clawdbot\u96c6\u6210\u6570\u773c\u667a\u80fd\u8054\u7f51\u641c\u7d22API\u5b8c\u6574\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/67144.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Clawdbot\u96c6\u6210\u6570\u773c\u667a\u80fd\u8054\u7f51\u641c\u7d22API\u5b8c\u6574\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5927\u5bb6\u597d\u554a\u6211\u662f\u83f2\u83f2~~Clawdbot\u4f5c\u4e3a\u5f00\u6e90\u53ef\u672c\u5730\u90e8\u7f72\u7684AI\u79c1\u4eba\u52a9\u7406&#xff0c;\u9ed8\u8ba4\u652f\u6301\u901a\u8fc7\u6280\u80fd\u6269\u5c55\u8054\u7f51\u80fd\u529b\u3002\u672c\u6559\u7a0b\u5c06\u8be6\u7ec6\u6307\u5bfc\u5982\u4f55\u5bf9\u63a5\u6570\u773c\u667a\u80fd\u8054\u7f51\u641c\u7d22API&#xff0c;\u4e3aClawdbot\u8d4b\u4e88\u7cbe\u51c6\u3001\u9ad8\u6548\u7684\u5b9e\u65f6\u7f51\u7edc\u641c\u7d22\u80fd\u529b&#xff0c;\u9002\u7528\u4e8e\u5f00\u53d1\u8005\u3001AI\u667a\u80fd\u4f53\u6784\u5efa\u8005&#xff0c;\u5168\u7a0b\u57fa\u4e8eLinux\u73af\u5883&#xff08;\u865a\u62df\u673a\/\u4e91\u670d\u52a1\u5668&#xff09;\u5b9e\u73b0\u3002 \u4e00\u3001\u6559\u7a0b\u524d\u7f6e\u51c6\u5907 1.1 \u73af\u5883\u4e0e\u5de5\u5177\u8981\u6c42 \u8fd0\u884c\u73af\u5883&#xff1a;Linux\u7cfb\u7edf&#xff08;\u63a8\u8350Ubunt\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/67144.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-28T03:25:00+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/67144.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/67144.html\",\"name\":\"Clawdbot\u96c6\u6210\u6570\u773c\u667a\u80fd\u8054\u7f51\u641c\u7d22API\u5b8c\u6574\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-28T03:25:00+00:00\",\"dateModified\":\"2026-01-28T03:25:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/67144.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/67144.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/67144.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Clawdbot\u96c6\u6210\u6570\u773c\u667a\u80fd\u8054\u7f51\u641c\u7d22API\u5b8c\u6574\u6559\u7a0b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Clawdbot\u96c6\u6210\u6570\u773c\u667a\u80fd\u8054\u7f51\u641c\u7d22API\u5b8c\u6574\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/67144.html","og_locale":"zh_CN","og_type":"article","og_title":"Clawdbot\u96c6\u6210\u6570\u773c\u667a\u80fd\u8054\u7f51\u641c\u7d22API\u5b8c\u6574\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5927\u5bb6\u597d\u554a\u6211\u662f\u83f2\u83f2~~Clawdbot\u4f5c\u4e3a\u5f00\u6e90\u53ef\u672c\u5730\u90e8\u7f72\u7684AI\u79c1\u4eba\u52a9\u7406&#xff0c;\u9ed8\u8ba4\u652f\u6301\u901a\u8fc7\u6280\u80fd\u6269\u5c55\u8054\u7f51\u80fd\u529b\u3002\u672c\u6559\u7a0b\u5c06\u8be6\u7ec6\u6307\u5bfc\u5982\u4f55\u5bf9\u63a5\u6570\u773c\u667a\u80fd\u8054\u7f51\u641c\u7d22API&#xff0c;\u4e3aClawdbot\u8d4b\u4e88\u7cbe\u51c6\u3001\u9ad8\u6548\u7684\u5b9e\u65f6\u7f51\u7edc\u641c\u7d22\u80fd\u529b&#xff0c;\u9002\u7528\u4e8e\u5f00\u53d1\u8005\u3001AI\u667a\u80fd\u4f53\u6784\u5efa\u8005&#xff0c;\u5168\u7a0b\u57fa\u4e8eLinux\u73af\u5883&#xff08;\u865a\u62df\u673a\/\u4e91\u670d\u52a1\u5668&#xff09;\u5b9e\u73b0\u3002 \u4e00\u3001\u6559\u7a0b\u524d\u7f6e\u51c6\u5907 1.1 \u73af\u5883\u4e0e\u5de5\u5177\u8981\u6c42 \u8fd0\u884c\u73af\u5883&#xff1a;Linux\u7cfb\u7edf&#xff08;\u63a8\u8350Ubunt","og_url":"https:\/\/www.wsisp.com\/helps\/67144.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-28T03:25:00+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/67144.html","url":"https:\/\/www.wsisp.com\/helps\/67144.html","name":"Clawdbot\u96c6\u6210\u6570\u773c\u667a\u80fd\u8054\u7f51\u641c\u7d22API\u5b8c\u6574\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-28T03:25:00+00:00","dateModified":"2026-01-28T03:25:00+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/67144.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/67144.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/67144.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Clawdbot\u96c6\u6210\u6570\u773c\u667a\u80fd\u8054\u7f51\u641c\u7d22API\u5b8c\u6574\u6559\u7a0b"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/67144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=67144"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/67144\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=67144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=67144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=67144"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=67144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}