K-Means Clustering Tool
Paste 2D CSV data and visualize K-Means clustering.
AI & ML ToolsRuns in your browser · nothing is sentNo account · No API key
Try it
Result
Call it from an agent
The same endpoint powers the form above. Send JSON, get JSON — no key, no signup.
curl -sX POST 'https://itsfully.online/backend/connector-api.php?action=execute' \
-H 'Content-Type: application/json' \
-d '{"tool":"k-means-clustering-tool","data":{ /* see input fields above */ }}'
Agent usage
This tool runs entirely in your browser runtime. No API key, no server round-trip. Fetch the manifest, import the module, call the function.
// 1. Fetch the manifest
const manifest = await fetch('https://itsfully.online/api/manifest.json').then(r => r.json());
// 2. Find this tool
const tool = manifest.categories
.flatMap(c => c.tools)
.find(t => t.apiName === 'k-means-clustering-tool');
// 3. Import and execute
const mod = await import('https://itsfully.online' + tool.clientModule);
const result = await mod['FrontendTools.execute']({ /* input */ });
Input schema
Parameters accepted by this tool:
[
{
"type": "textarea",
"name": "data",
"label": "CSV Data (x,y)",
"placeholder": "10,20\n15,25\n...",
"required": true,
"rows": 8
},
{
"type": "number",
"name": "k",
"label": "Number of Clusters (K)",
"min": 1,
"max": 10,
"default": 3
},
{
"type": "number",
"name": "iterations",
"label": "Max Iterations",
"min": 1,
"max": 100,
"default": 20
}
]
Module path
/common/frontend-tools.js
Dynamic import this path from your agent runtime. No npm install, no bundler required.