Development
Google SERP 预览模拟器(桌面 + 移动端)
输入标题、描述和 URL,按 2026 年当前 Google 规则像素级模拟搜索结果样式:桌面单行 ~600px 标题、移动端两行截断、桌面“站点名 › 路径”与移动端仅域名(2025 年 1 月改版)、评分星标与商品价格富媒体、日期行、浅色与深色双主题、像素用量仪表与诊断(含 FAQ 富媒体已于 2026 年 5 月移除的现状提示)。
html· HTML 结果打开工具
快速开始
用三种语言从你的代码中调用此工具。
cURL
curl -X POST 'https://api.elysiatools.com/zh/api/tools/serp-preview-simulator' \
-H 'Content-Type: application/json' \
-d '{"title":"Sourdough Starter Guide: First Rise to Fridge Care","description":"A practical sourdough starter schedule with feeding ratios, temperature notes, and fridge storage rules so your first loaf rises on time.","url":"breadcircle.io/guides/sourdough-starter","siteName":"Bread Circle","date":"2026-08-01","richResult":"none","rating":4.6,"reviewCount":0,"price":"","device":"both","theme":"both"}'API 参考
以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
请求端点
HTTP
POST https://api.elysiatools.com/zh/api/tools/serp-preview-simulator请求参数
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| title | text | 是 | — |
| description | textarea | 否 | — |
| url | text | 是 | — |
| siteName | text | 否 | — |
| date | text | 否 | — |
| richResult | select | 否 |
MCP 集成
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
服务配置
将以下内容加入你的 MCP 客户端配置:
mcp.json
{
"mcpServers": {
"elysiatools-serp-preview-simulator": {
"name": "serp-preview-simulator",
"description": "输入标题、描述和 URL,按 2026 年当前 Google 规则像素级模拟搜索结果样式:桌面单行 ~600px 标题、移动端两行截断、桌面“站点名 › 路径”与移动端仅域名(2025 年 1 月改版)、评分星标与商品价格富媒体、日期行、浅色与深色双主题、像素用量仪表与诊断(含 FAQ 富媒体已于 2026 年 5 月移除的现状提示)。",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=serp-preview-simulator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}列出可用工具
连接到 SSE 端点后,列出已开放的工具:
tools/list
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}调用此工具
通过工具 id 调用,参数由其参数表构建:
tools/call
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "serp-preview-simulator",
"arguments": {
"title": "Sourdough Starter Guide: First Rise to Fridge Care",
"description": "A practical sourdough starter schedule with feeding ratios, temperature notes, and fridge storage rules so your first loaf rises on time.",
"url": "breadcircle.io/guides/sourdough-starter",
"siteName": "Bread Circle",
"date": "2026-08-01",
"richResult": "none",
"rating": 4.6,
"reviewCount": 0,
"price": "",
"device": "both",
"theme": "both"
}
}
}可用逗号分隔的 toolId 在一个会话中串联多个工具,例如 /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp(最多 20 个)。
有问题或反馈?请联系 [email protected]