Compare Foundation Backbones
foundation.compareRun every available pretrained backbone on YOUR data and see which wins — a ranked bar chart with CI whiskers, params, and wall time per backbone. Backbones that can't process your data (window size, channel count) are noted, not silently skipped. Each backbone embeds your trials frozen (the exact foundation_features preprocessing), a LDA is cross-validated on the embeddings. Returns a PNG image PLUS a JSON text block (and structuredContent.meta.results) with per-backbone accuracy, CI, embed dim, params, and time — pick the foundation_features backbone by measurement, not vibes.
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": {
"source": "<source>"
},
"name": "foundation.compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Pack split to load: training | evaluation | all (source=dataset). | all |
| path | No | Upload path (source=upload) or absolute local path (source=local). | |
| source | Yes | "dataset" (MOABB pack), "upload" (path from data.upload), or "local" (absolute path, local backend only). | |
| dataset | No | MOABB dataset id, e.g. "BNCI2014_001" (source=dataset). | |
| subject | No | Subject id, e.g. "S01" (source=dataset). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| meta | No | Figure sidecar. foundation.compare includes results/best/skipped (also as a JSON text content block). | |
| title | No | ||
| mimeType | No | ||
| savedPath | No | Set when save=true. | |
| sizeBytes | No | Set when save=true. |