Native Clawdbot plugin for Google Search via Serper.dev API. Returns real Google results — organic links, knowledge graph, news, and "People Also Ask" — as a single tool call.
{
"env": {
"vars": {
"SERPER_API_KEY": "your-api-key-here"
}
}
}
Or configure directly in the plugin entry:
{
"plugins": {
"entries": {
"serper-search": {
"enabled": true,
"config": {
"apiKey": "your-api-key-here",
"defaultNumResults": 5
}
}
}
}
}
The plugin registers a serper_search tool with three parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
| ----------- | ------ | --------- | ------------- |
query | string | required | The search query |
num | number | 5 | Number of results (1-100) |
searchType | string | "search" | "search" for web, "news" for news |
> Search for "best rust web frameworks 2026"
Returns organic results with title, link, snippet, and position, plus knowledge graph and related questions.
> Search news for "AI regulation Europe"
Returns news articles with title, link, snippet, date, and source.
serper-search/
clawdbot.plugin.json # Plugin manifest with configSchema
package.json # NPM package config
index.ts # Plugin implementation
SKILL.md # This file
export default function register(api) — not an objectapi.registerTool(toolObject) — direct, not callback{ content: [{ type: "text", text: JSON.stringify(results) }] }@sinclair/typebox from Clawdbot's own node_modulesBuilt by @Samoppakiks with Claude Code.
共 1 个版本