add_model
Add a model name to a provider's list of available models when the provider's /v1/models endpoint is unavailable.
Instructions
手动把一个模型名添加为某供应商的可用模型(供应商 /v1/models 接口不可用时用)。
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": {
"provider_id": "<provider_id>",
"model_name": "<model_name>"
},
"name": "add_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_name | Yes | ||
| provider_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |