create_tool
Build custom Python tools with defined functionality by specifying a name, description, and code. Integrate newly created tools into the MCP server for enhanced automation capabilities.
Instructions
Create a new Python tool with specified functionality
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | Python code implementing the tool | |
description | Yes | Description of what the tool should do | |
tool_name | Yes | Name of the new tool |
Input Schema (JSON Schema)
{
"properties": {
"code": {
"description": "Python code implementing the tool",
"type": "string"
},
"description": {
"description": "Description of what the tool should do",
"type": "string"
},
"tool_name": {
"description": "Name of the new tool",
"type": "string"
}
},
"required": [
"tool_name",
"description",
"code"
],
"type": "object"
}