write_tool
Writes Python code to a file to define a new MCP tool. The created tool is automatically discovered and available to AI clients.
Instructions
Create a new dynamic MCP tool by writing Python code to a file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the tool (without .py extension) | |
| content | Yes | Python code content for the tool with proper invoke(arguments) function |