add_html_tool
Create and add a new HTML tool with files, entry point, category, and description into the workspace's resources/html directory for organizing mobile-optimized interactive tools.
Instructions
Create a new HTML tool in the workspace resources/html directory
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspacePath": "<workspacePath>",
"toolName": "<toolName>",
"files": "<files>"
},
"name": "add_html_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Array of files to create for this tool | |
| category | No | Optional category for organizing tools (e.g., "games", "utilities", "visualizations") | |
| toolName | Yes | Name of the HTML tool (will be used as folder name) | |
| description | No | Brief description of what this HTML tool does | |
| workspacePath | Yes | Absolute path to the workspace directory |