models
List, check, configure, or remove local embedding profiles for offline semantic, hybrid, and image search, verifying downloaded files against pinned hashes without network access.
Instructions
Local model profiles: bge-m3 (text) for semantic and hybrid search, and siglip-base (image) for search with image or imageRef. list shows the documented profiles with modality, model, revision, license and the files each needs; status reports each configured profile ready or unavailable with the reason, and the setup steps for each modality no profile serves; configure checks a model directory the user already downloaded against pinned SHA-256 digests, starts the figlens-embed shipped beside figlens once offline and records the profile; remove forgets the profile and keeps its files. Nothing is downloaded and no design content leaves the machine.
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": {
"action": "<action>"
},
"name": "models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | list, status, configure or remove | |
| profile | No | configure and remove: a profile name from list | |
| modelDir | No | configure: the local directory holding the profile's files, inside the server's roots |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| setup | No | status: the steps to configure a profile for each modality (text, image) no configured profile serves | |
| removed | No | ||
| profiles | No | list: name, modality, model, revision, license, files, configured, profileId, dataFlow; status: name, modality, profileId, model, runtime, dim, state ready or unavailable, code (runtime_missing, runtime_changed or model_missing), reason and recovery (models configure with the same files) | |
| configRoot | No | status: the config directory models.json lives in (ask write access to it before configure) | |
| configured | No | configure: the recorded profile and its profileId | |
| defaultRuntime | No | status: {path, available} of the figlens-embed beside this figlens; available means the file exists, not that a model is ready |