LobeChat
Ctrl K
Back to Discovery
search1api

Search1API

@fatwang2
Search aggregation service, specifically designed for LLMs

Tool Parameters

banner
Web search tool
ParameterType
query
STRING
search_service
STRING
max_results
NUMBER
crawl_results
NUMBER
include_sites
ARRAY
exclude_sites
ARRAY
time_range
STRING

JSON Schema

json
[
  {
    "name": "search",
    "url": "https://lobehub.search1api.com/api/search",
    "description": "Web search tool",
    "parameters": {
      "properties": {
        "query": {
          "description": "Search query in natural language. Be specific and concise for better results",
          "type": "string"
        },
        "search_service": {
          "description": "Specify the search engine to use. Choose based on your specific needs",
          "type": "string",
          "default": "google",
          "enum": [
            "google",
            "bing",
            "duckduckgo",
            "yahoo",
            "github",
            "youtube",
            "arxiv",
            "wechat",
            "bilibili",
            "imdb",
            "wikipedia"
          ]
        },
        "max_results": {
          "description": "Maximum number of results to return",
          "type": "number",
          "default": 10
        },
        "crawl_results": {
          "description": "Number of results to crawl for full webpage content, useful when search result summaries are insufficient for complex queries",
          "type": "number",
          "default": 0
        },
        "include_sites": {
          "description": "List of sites to include in search. Only use when you need special results from sites not available in search_service",
          "type": "array",
          "items": {
            "type": "string"
          },
          "default": []
        },
        "exclude_sites": {
          "description": "List of sites to exclude from search. Only use when you need to explicitly filter out specific domains from results",
          "type": "array",
          "items": {
            "type": "string"
          },
          "default": []
        },
        "time_range": {
          "description": "Time range for search results, only use when specific time constraints are required",
          "type": "string",
          "enum": [
            "day",
            "month",
            "year"
          ]
        }
      },
      "required": [
        "query"
      ],
      "type": "object"
    }
  },
  {
    "name": "crawl",
    "url": "https://lobehub.search1api.com/api/crawl",
    "description": "Web content crawler tool",
    "parameters": {
      "properties": {
        "url": {
          "description": "URL to crawl for content",
          "type": "string"
        }
      },
      "required": [
        "url"
      ],
      "type": "object"
    }
  },
  {
    "name": "sitemap",
    "url": "https://lobehub.search1api.com/api/sitemap",
    "description": "Sitemap retrieval tool",
    "parameters": {
      "properties": {
        "url": {
          "description": "URL to get sitemap or related links from",
          "type": "string"
        }
      },
      "required": [
        "url"
      ],
      "type": "object"
    }
  }
]