mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-30 23:02:50 +00:00
chore: update tool specifications
This commit is contained in:
@@ -197,7 +197,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "A tool that can be used to search the internet with a search_query.",
|
"description": "A tool that performs web searches using the Brave Search API. Results are returned as structured JSON data.",
|
||||||
"env_vars": [
|
"env_vars": [
|
||||||
{
|
{
|
||||||
"default": null,
|
"default": null,
|
||||||
@@ -206,7 +206,7 @@
|
|||||||
"required": true
|
"required": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"humanized_name": "Brave Web Search the internet",
|
"humanized_name": "Brave Search",
|
||||||
"init_params_schema": {
|
"init_params_schema": {
|
||||||
"$defs": {
|
"$defs": {
|
||||||
"EnvVar": {
|
"EnvVar": {
|
||||||
@@ -245,20 +245,8 @@
|
|||||||
"type": "object"
|
"type": "object"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"description": "BraveSearchTool - A tool for performing web searches using the Brave Search API.\n\nThis module provides functionality to search the internet using Brave's Search API,\nsupporting customizable result counts and country-specific searches.\n\nDependencies:\n - requests\n - pydantic\n - python-dotenv (for API key management)",
|
"description": "A tool that performs web searches using the Brave Search API.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"country": {
|
|
||||||
"anyOf": [
|
|
||||||
{
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "null"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"default": "",
|
|
||||||
"title": "Country"
|
|
||||||
},
|
|
||||||
"n_results": {
|
"n_results": {
|
||||||
"default": 10,
|
"default": 10,
|
||||||
"title": "N Results",
|
"title": "N Results",
|
||||||
@@ -281,16 +269,161 @@
|
|||||||
"name": "BraveSearchTool",
|
"name": "BraveSearchTool",
|
||||||
"package_dependencies": [],
|
"package_dependencies": [],
|
||||||
"run_params_schema": {
|
"run_params_schema": {
|
||||||
"description": "Input for BraveSearchTool.",
|
"description": "Input for BraveSearchTool",
|
||||||
"properties": {
|
"properties": {
|
||||||
"search_query": {
|
"count": {
|
||||||
"description": "Mandatory search query you want to use to search the internet",
|
"anyOf": [
|
||||||
"title": "Search Query",
|
{
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"default": null,
|
||||||
|
"description": "The maximum number of results to return. Actual number may be less.",
|
||||||
|
"title": "Count"
|
||||||
|
},
|
||||||
|
"country": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"default": null,
|
||||||
|
"description": "Country code for geo-targeting (e.g., 'US', 'BR').",
|
||||||
|
"title": "Country"
|
||||||
|
},
|
||||||
|
"extra_snippets": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"default": null,
|
||||||
|
"description": "Include up to 5 text snippets for each page if possible.",
|
||||||
|
"title": "Extra Snippets"
|
||||||
|
},
|
||||||
|
"freshness": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"enum": [
|
||||||
|
"pd",
|
||||||
|
"pw",
|
||||||
|
"pm",
|
||||||
|
"py"
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pattern": "^\\d{4}-\\d{2}-\\d{2}to\\d{4}-\\d{2}-\\d{2}$",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"default": null,
|
||||||
|
"description": "Enforce freshness of results. Options: pd/pw/pm/py, or YYYY-MM-DDtoYYYY-MM-DD",
|
||||||
|
"title": "Freshness"
|
||||||
|
},
|
||||||
|
"offset": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"default": null,
|
||||||
|
"description": "Skip the first N result sets/pages. Max is 9.",
|
||||||
|
"title": "Offset"
|
||||||
|
},
|
||||||
|
"operators": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"default": null,
|
||||||
|
"description": "Whether to apply search operators (e.g., site:example.com).",
|
||||||
|
"title": "Operators"
|
||||||
|
},
|
||||||
|
"query": {
|
||||||
|
"description": "Search query to perform",
|
||||||
|
"title": "Query",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"safesearch": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"enum": [
|
||||||
|
"off",
|
||||||
|
"moderate",
|
||||||
|
"strict"
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"default": null,
|
||||||
|
"description": "Filter out explicit content. Options: off/moderate/strict",
|
||||||
|
"title": "Safesearch"
|
||||||
|
},
|
||||||
|
"search_language": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"default": null,
|
||||||
|
"description": "Language code for the search results (e.g., 'en', 'es').",
|
||||||
|
"title": "Search Language"
|
||||||
|
},
|
||||||
|
"spellcheck": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"default": null,
|
||||||
|
"description": "Attempt to correct spelling errors in the search query.",
|
||||||
|
"title": "Spellcheck"
|
||||||
|
},
|
||||||
|
"text_decorations": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"default": null,
|
||||||
|
"description": "Include markup to highlight search terms in the results.",
|
||||||
|
"title": "Text Decorations"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"search_query"
|
"query"
|
||||||
],
|
],
|
||||||
"title": "BraveSearchToolSchema",
|
"title": "BraveSearchToolSchema",
|
||||||
"type": "object"
|
"type": "object"
|
||||||
@@ -3741,10 +3874,6 @@
|
|||||||
"title": "Bucket Name",
|
"title": "Bucket Name",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"cluster": {
|
|
||||||
"description": "An instance of the Couchbase Cluster connected to the desired Couchbase server.",
|
|
||||||
"title": "Cluster"
|
|
||||||
},
|
|
||||||
"collection_name": {
|
"collection_name": {
|
||||||
"description": "The name of the Couchbase collection to search",
|
"description": "The name of the Couchbase collection to search",
|
||||||
"title": "Collection Name",
|
"title": "Collection Name",
|
||||||
@@ -3793,7 +3922,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"cluster",
|
|
||||||
"collection_name",
|
"collection_name",
|
||||||
"scope_name",
|
"scope_name",
|
||||||
"bucket_name",
|
"bucket_name",
|
||||||
@@ -12537,13 +12665,9 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"config": {
|
"config": {
|
||||||
"$ref": "#/$defs/OxylabsAmazonProductScraperConfig"
|
"$ref": "#/$defs/OxylabsAmazonProductScraperConfig"
|
||||||
},
|
|
||||||
"oxylabs_api": {
|
|
||||||
"title": "Oxylabs Api"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"oxylabs_api",
|
|
||||||
"config"
|
"config"
|
||||||
],
|
],
|
||||||
"title": "OxylabsAmazonProductScraperTool",
|
"title": "OxylabsAmazonProductScraperTool",
|
||||||
@@ -12766,13 +12890,9 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"config": {
|
"config": {
|
||||||
"$ref": "#/$defs/OxylabsAmazonSearchScraperConfig"
|
"$ref": "#/$defs/OxylabsAmazonSearchScraperConfig"
|
||||||
},
|
|
||||||
"oxylabs_api": {
|
|
||||||
"title": "Oxylabs Api"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"oxylabs_api",
|
|
||||||
"config"
|
"config"
|
||||||
],
|
],
|
||||||
"title": "OxylabsAmazonSearchScraperTool",
|
"title": "OxylabsAmazonSearchScraperTool",
|
||||||
@@ -13008,13 +13128,9 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"config": {
|
"config": {
|
||||||
"$ref": "#/$defs/OxylabsGoogleSearchScraperConfig"
|
"$ref": "#/$defs/OxylabsGoogleSearchScraperConfig"
|
||||||
},
|
|
||||||
"oxylabs_api": {
|
|
||||||
"title": "Oxylabs Api"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"oxylabs_api",
|
|
||||||
"config"
|
"config"
|
||||||
],
|
],
|
||||||
"title": "OxylabsGoogleSearchScraperTool",
|
"title": "OxylabsGoogleSearchScraperTool",
|
||||||
@@ -13198,13 +13314,9 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"config": {
|
"config": {
|
||||||
"$ref": "#/$defs/OxylabsUniversalScraperConfig"
|
"$ref": "#/$defs/OxylabsUniversalScraperConfig"
|
||||||
},
|
|
||||||
"oxylabs_api": {
|
|
||||||
"title": "Oxylabs Api"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"oxylabs_api",
|
|
||||||
"config"
|
"config"
|
||||||
],
|
],
|
||||||
"title": "OxylabsUniversalScraperTool",
|
"title": "OxylabsUniversalScraperTool",
|
||||||
@@ -20005,6 +20117,18 @@
|
|||||||
"humanized_name": "Web Automation Tool",
|
"humanized_name": "Web Automation Tool",
|
||||||
"init_params_schema": {
|
"init_params_schema": {
|
||||||
"$defs": {
|
"$defs": {
|
||||||
|
"AvailableModel": {
|
||||||
|
"enum": [
|
||||||
|
"gpt-4o",
|
||||||
|
"gpt-4o-mini",
|
||||||
|
"claude-3-5-sonnet-latest",
|
||||||
|
"claude-3-7-sonnet-latest",
|
||||||
|
"computer-use-preview",
|
||||||
|
"gemini-2.0-flash"
|
||||||
|
],
|
||||||
|
"title": "AvailableModel",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"EnvVar": {
|
"EnvVar": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"default": {
|
"default": {
|
||||||
@@ -20082,6 +20206,17 @@
|
|||||||
"default": null,
|
"default": null,
|
||||||
"title": "Model Api Key"
|
"title": "Model Api Key"
|
||||||
},
|
},
|
||||||
|
"model_name": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/$defs/AvailableModel"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"default": "claude-3-7-sonnet-latest"
|
||||||
|
},
|
||||||
"project_id": {
|
"project_id": {
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{
|
{
|
||||||
@@ -21306,26 +21441,6 @@
|
|||||||
"description": "The Tavily API key. If not provided, it will be loaded from the environment variable TAVILY_API_KEY.",
|
"description": "The Tavily API key. If not provided, it will be loaded from the environment variable TAVILY_API_KEY.",
|
||||||
"title": "Api Key"
|
"title": "Api Key"
|
||||||
},
|
},
|
||||||
"async_client": {
|
|
||||||
"anyOf": [
|
|
||||||
{},
|
|
||||||
{
|
|
||||||
"type": "null"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"default": null,
|
|
||||||
"title": "Async Client"
|
|
||||||
},
|
|
||||||
"client": {
|
|
||||||
"anyOf": [
|
|
||||||
{},
|
|
||||||
{
|
|
||||||
"type": "null"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"default": null,
|
|
||||||
"title": "Client"
|
|
||||||
},
|
|
||||||
"extract_depth": {
|
"extract_depth": {
|
||||||
"default": "basic",
|
"default": "basic",
|
||||||
"description": "The depth of extraction. 'basic' for basic extraction, 'advanced' for advanced extraction.",
|
"description": "The depth of extraction. 'basic' for basic extraction, 'advanced' for advanced extraction.",
|
||||||
@@ -21461,26 +21576,6 @@
|
|||||||
"description": "The Tavily API key. If not provided, it will be loaded from the environment variable TAVILY_API_KEY.",
|
"description": "The Tavily API key. If not provided, it will be loaded from the environment variable TAVILY_API_KEY.",
|
||||||
"title": "Api Key"
|
"title": "Api Key"
|
||||||
},
|
},
|
||||||
"async_client": {
|
|
||||||
"anyOf": [
|
|
||||||
{},
|
|
||||||
{
|
|
||||||
"type": "null"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"default": null,
|
|
||||||
"title": "Async Client"
|
|
||||||
},
|
|
||||||
"client": {
|
|
||||||
"anyOf": [
|
|
||||||
{},
|
|
||||||
{
|
|
||||||
"type": "null"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"default": null,
|
|
||||||
"title": "Client"
|
|
||||||
},
|
|
||||||
"days": {
|
"days": {
|
||||||
"default": 7,
|
"default": 7,
|
||||||
"description": "The number of days to search back.",
|
"description": "The number of days to search back.",
|
||||||
|
|||||||
Reference in New Issue
Block a user