download_embedding_model
Download and cache an embedding model from HuggingFace, then verify it loads before running S3 analysis; use when selecting a non-default model.
Instructions
Download an embedding model from HuggingFace (or find it in the local cache) and check it
loads, before run_s3_analysis. Use it when the user picks a model other than mpnet (e.g.
multilingual, about 1.1 GB): the first download can take minutes. If it fails, show the user
the error's steps, in particular the Terminal command uvx --from s3-bibliometric s3bib download-model <key>, which downloads the model without the chat's time limit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "download_embedding_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| embedding_model | No | mpnet |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |