工具
列出来源
列出来源。
参数#
| 名称 | 类型 | 必填 | 有效值与约束 |
|---|---|---|---|
host |
string | 必填 | maxLength 253 项目域名,不含协议或路径。 |
kind |
string | 必填 | domains, urls, gaps 来源类型。 |
days |
integer | 可选 | 7, 30, 90 包含首尾的自然日;默认 30。 |
engine |
string | 可选 | chat_gpt, chat_gpt_web, gemini_web, google_ai_mode, google_ai_overview, perplexity_web, copilot_web, grok_web, perplexity, gemini, claude AI 模型或搜索界面。 |
limit |
integer | 可选 | min 1 max 100 返回条数上限。 |
不接受额外参数。
调用示例#
客户端完成 initialize 握手后,将此 JSON-RPC 请求体发送到 POST https://app.keptai.com/mcp,并携带 Bearer 请求头。
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "list_sources",
"arguments": {
"host": "example.com",
"kind": "domains"
}
}
}
结果与限制#
每个结果集合默认 50 行,最多 100 行,不提供游标。
结果包含文本 JSON 和 structuredContent。工具失败时请检查 isError,内容裁剪时请检查 _meta.truncated。所有工具均为只读,并遵循项目权限。身份验证与限流请参考配置指南。