一键导入
google-search
Search the internet via Google (Serper API). Returns only titles, URLs, and short snippets. Use read_url_jina to get full page content.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Search the internet via Google (Serper API). Returns only titles, URLs, and short snippets. Use read_url_jina to get full page content.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create a new Python subagent file in the workspace. After creating, use run_subagent to test it (NOT use_saved_subagent).
Complete the task with a final answer and save reusable subagents as skills. Use this when you have successfully solved the question.
List all previously saved subagent skills. Use this to check if a suitable subagent already exists before creating a new one.
Edit an existing subagent file by replacing specific code snippets. Supports both workspace files and saved skills.
Run a subagent - either a newly created one from workspace or a saved subagent from previous sessions.
View the source code of a saved subagent skill. Use this to understand how an existing subagent works before reusing or adapting it.
| name | google_search |
| description | Search the internet via Google (Serper API). Returns only titles, URLs, and short snippets. Use read_url_jina to get full page content. |
search_serper: High-quality search using Google via Serper API. Returns web page title, url and a short snippet.
from tools import search_serper
results = search_serper(query, topk=10)
| Parameter | Type | Default | Description |
|---|---|---|---|
| query | str | required | The search query string |
| topk | int | 10 | Number of top results to return |
Returns a list of dictionaries directly:
[
{
"title": "web page title",
"link": "web page url",
"snippet": "brief snippet, NOT the full content...",
},
...
]
Or on error:
[{"error": "error message"}]
Note: The snippet field is a very short excerpt, NOT the full page content. It may miss critical information. Always use read_url_jina to retrieve the full page content for any relevant result.
from tools import search_serper
# Search for information about a topic
results = search_serper("capital of France", topk=3)
# Process results
for doc in results:
if "error" in doc:
print(f"Error: {doc['error']}")
break
print(f"Doc title: {doc['title']}")
print(f"url: {doc['link']}")
print(f"snippet: {doc['snippet']}...")
print("---")
snippet field is a brief excerpt, NOT the full content - it may miss critical informationread_url_jina to get the full page content for any relevant result - do NOT rely solely on the snippet from search