edgegate_import_huggingface_model
Import a public Hugging Face model's pre-built ONNX file into EdgeGate, registering it as an Artifact. Returns an artifact_id for edgegate_create_pipeline, with optional polling for completion.
Instructions
Import a public Hugging Face model that contains a pre-built ONNX file. EdgeGate downloads the file and registers it as an Artifact. Returns the artifact_id you can pass directly to edgegate_create_pipeline. Polls until the import completes by default (poll_for_completion=true); set to false to return immediately with the job id.
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": {
"workspace_id": "<workspace_id>",
"hf_repo_id": "<hf_repo_id>"
},
"name": "edgegate_import_huggingface_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | ||
| revision | No | main | |
| hf_repo_id | Yes | ||
| workspace_id | Yes | ||
| max_poll_seconds | No | ||
| poll_for_completion | No |