Add an own model
add_own_modelAdd a vendor model to the account's own key. Without modes: read the model and its family off the vendor and return each endpoint's fields and a proposed binding (prompt_field, media_fields, output), saving nothing. With modes: save it with the endpoints and bindings you confirm, each { endpoint, slot, binding } built from that proposal. The account must hold a key for the vendor (Settings).
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": {
"vendor": "<vendor>",
"ref": "<ref>"
},
"name": "add_own_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | The vendor's model address, as list_own_models' search returns it or as its site shows it. | |
| kind | No | ||
| label | No | ||
| modes | No | ||
| vendor | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | No | ||
| model | No | ||
| message | Yes |