mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-13 06:23:03 +00:00
chore: update tool specifications
This commit is contained in:
@@ -5122,135 +5122,6 @@
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "Interprets Python3 code strings with a final print statement.",
|
||||
"env_vars": [],
|
||||
"humanized_name": "Code Interpreter",
|
||||
"init_params_schema": {
|
||||
"$defs": {
|
||||
"EnvVar": {
|
||||
"properties": {
|
||||
"default": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Default"
|
||||
},
|
||||
"description": {
|
||||
"title": "Description",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"required": {
|
||||
"default": true,
|
||||
"title": "Required",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"description"
|
||||
],
|
||||
"title": "EnvVar",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"description": "A tool for executing Python code in isolated environments.\n\nThis tool provides functionality to run Python code either in a Docker container\nfor safe isolation or directly in a restricted sandbox. It can handle installing\nPython packages and executing arbitrary Python code.",
|
||||
"properties": {
|
||||
"code": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Code"
|
||||
},
|
||||
"default_image_tag": {
|
||||
"default": "code-interpreter:latest",
|
||||
"title": "Default Image Tag",
|
||||
"type": "string"
|
||||
},
|
||||
"tool_type": {
|
||||
"readOnly": true,
|
||||
"title": "Tool Type",
|
||||
"type": "string"
|
||||
},
|
||||
"unsafe_mode": {
|
||||
"default": false,
|
||||
"title": "Unsafe Mode",
|
||||
"type": "boolean"
|
||||
},
|
||||
"user_docker_base_url": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "User Docker Base Url"
|
||||
},
|
||||
"user_dockerfile_path": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "User Dockerfile Path"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"tool_type"
|
||||
],
|
||||
"title": "CodeInterpreterTool",
|
||||
"type": "object"
|
||||
},
|
||||
"name": "CodeInterpreterTool",
|
||||
"package_dependencies": [],
|
||||
"run_params_schema": {
|
||||
"description": "Schema for defining inputs to the CodeInterpreterTool.\n\nThis schema defines the required parameters for code execution,\nincluding the code to run and any libraries that need to be installed.",
|
||||
"properties": {
|
||||
"code": {
|
||||
"description": "Python3 code used to be interpreted in the Docker container. ALWAYS PRINT the final result and the output of the code",
|
||||
"title": "Code",
|
||||
"type": "string"
|
||||
},
|
||||
"libraries_used": {
|
||||
"description": "List of libraries used in the code with proper installing names separated by commas. Example: numpy,pandas,beautifulsoup4",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Libraries Used",
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"code",
|
||||
"libraries_used"
|
||||
],
|
||||
"title": "CodeInterpreterSchema",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "",
|
||||
"env_vars": [
|
||||
|
||||
Reference in New Issue
Block a user