Update inference policy models

veryfront__update_inference_policy_models

Requires project.settings.manage.

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
modelsobjectNoModels the project allows and denies. They only narrow what its account allows.
default_modelstring or nullNoDefault model of the project. It must be allowed by the project's and its account's policy. Null uses the account default. Omit to keep the stored value.
project_referencestringNoProject ID or slug Minimum length: 1.

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__update_inference_policy_models",
    "arguments": {}
  }
}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
project_idstringYesProject identifier associated with this result. Format: uuid.
configuredbooleanYesWhether the project states a policy. False returns the defaults the project is served under: EU-only, with an eu-resident minimum tier, while the EU default is on; every allowed model once it has ended. A row that constrains nothing is routed exactly like no row; routing changes begin at the first non-null constraint.
enforcedbooleanYesWhether the gateway can apply this stored policy. True for every readable policy: each stated constraint is enforced, and so is the default "eu-resident" tier floor while the EU default is on. False only when a stored value (a tier or precision) is one this build cannot read, because the gateway then refuses every request for the project instead of applying it.
created_atstring or nullYesRecords policy creation in ISO 8601 format, or null when no policy row exists.
updated_atstring or nullYesRecords the last policy update in ISO 8601 format, or null when no policy row exists.
updated_bystring or nullYesRecords the user ID responsible for the last policy update, or null when no actor is recorded.
modelsobjectYesModels the project itself allows and denies. They only narrow its account.
default_modelstring or nullYesThe project's own default model. Null uses the account default, then the built-in default.
accountobject or nullYesThe policy the project inherits from its account: its models and default_model. Null for a project without an account.
effectiveobjectYesWhat applies to the project: its own and its account's rules composed (allowed lists intersect, denied lists combine), and the default model a call naming none gets.

Full schemas

json
{
  "type": "object",
  "properties": {
    "models": {
      "type": "object",
      "properties": {
        "allowed": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200,
                "pattern": "^[a-z0-9][a-z0-9._/-]*$",
                "description": "Model ID returned by list_models. Known catalog aliases are normalized to canonical IDs. Policy IDs use letters, digits, dots, underscores, slashes, and hyphens; arbitrary provider model strings are not accepted."
              },
              "maxItems": 500,
              "description": "Provide one or more allowed values."
            },
            {
              "type": "null",
              "description": "Provide the allowed."
            }
          ],
          "description": "Model IDs from list_models the project allows. Null removes the restriction; an empty list allows nothing. Omit to keep the stored list."
        },
        "denied": {
          "$ref": "#/properties/models/properties/allowed/anyOf/0",
          "description": "Model IDs from list_models the project denies. A denial overrides an allowance. Omit to keep the stored list."
        }
      },
      "additionalProperties": false,
      "description": "Models the project allows and denies. They only narrow what its account allows."
    },
    "default_model": {
      "anyOf": [
        {
          "$ref": "#/properties/models/properties/allowed/anyOf/0/items",
          "description": "Provide the default model."
        },
        {
          "type": "null",
          "description": "Provide the default model."
        }
      ],
      "description": "Default model of the project. It must be allowed by the project's and its account's policy. Null uses the account default. Omit to keep the stored value."
    },
    "project_reference": {
      "type": "string",
      "minLength": 1,
      "description": "Project ID or slug"
    }
  },
  "additionalProperties": false,
  "description": "Updates models and default_model: each key sent replaces the stored value, every other rule is kept. Requires a signed-in project administrator. API keys are rejected regardless of their scopes, including project-scoped keys.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "format": "uuid",
      "description": "Project identifier associated with this result."
    },
    "configured": {
      "type": "boolean",
      "description": "Whether the project states a policy. False returns the defaults the project is served under: EU-only, with an `eu-resident` minimum tier, while the EU default is on; every allowed model once it has ended. A row that constrains nothing is routed exactly like no row; routing changes begin at the first non-null constraint."
    },
    "enforced": {
      "type": "boolean",
      "description": "Whether the gateway can apply this stored policy. True for every readable policy: each stated constraint is enforced, and so is the default \"eu-resident\" tier floor while the EU default is on. False only when a stored value (a tier or precision) is one this build cannot read, because the gateway then refuses every request for the project instead of applying it."
    },
    "created_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "Records policy creation in ISO 8601 format, or null when no policy row exists."
    },
    "updated_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "Records the last policy update in ISO 8601 format, or null when no policy row exists."
    },
    "updated_by": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null",
          "description": "The updated by returned by the tool."
        }
      ],
      "description": "Records the user ID responsible for the last policy update, or null when no actor is recorded."
    },
    "models": {
      "type": "object",
      "properties": {
        "allowed": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "List of allowed associated with this tool result."
            },
            {
              "type": "null",
              "description": "The allowed returned by the tool."
            }
          ],
          "description": "Canonical model IDs that may be used. Null means no restriction; an empty list allows nothing."
        },
        "denied": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Canonical model IDs that may not be used. A denial overrides an allowance; an empty list denies nothing."
        }
      },
      "required": [
        "allowed",
        "denied"
      ],
      "additionalProperties": false,
      "description": "Models the project itself allows and denies. They only narrow its account."
    },
    "default_model": {
      "type": [
        "string",
        "null"
      ],
      "description": "The project's own default model. Null uses the account default, then the built-in default."
    },
    "account": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "models": {
              "type": "object",
              "properties": {
                "allowed": {
                  "$ref": "#/properties/models/properties/allowed",
                  "description": "The allowed returned by the tool."
                },
                "denied": {
                  "$ref": "#/properties/models/properties/denied",
                  "description": "The denied returned by the tool."
                }
              },
              "required": [
                "allowed",
                "denied"
              ],
              "additionalProperties": false,
              "description": "Structured models details associated with this tool result."
            },
            "default_model": {
              "type": [
                "string",
                "null"
              ],
              "description": "Default model ID. Null uses the built-in default, mistral/mistral-small-2503. A project default wins over the account default."
            }
          },
          "required": [
            "models",
            "default_model"
          ],
          "additionalProperties": false,
          "description": "Structured account details associated with this tool result."
        },
        {
          "type": "null",
          "description": "The account returned by the tool."
        }
      ],
      "description": "The policy the project inherits from its account: its models and default_model. Null for a project without an account."
    },
    "effective": {
      "type": "object",
      "properties": {
        "models": {
          "$ref": "#/properties/account/anyOf/0/properties/models",
          "description": "The models returned by the tool."
        },
        "default_model": {
          "type": [
            "string",
            "null"
          ],
          "description": "The model a call naming none gets: the project default, then the account default, then the built-in default, the first one allowed and served under the project's whole policy. Null when none is."
        }
      },
      "required": [
        "models",
        "default_model"
      ],
      "additionalProperties": false,
      "description": "What applies to the project: its own and its account's rules composed (allowed lists intersect, denied lists combine), and the default model a call naming none gets."
    }
  },
  "required": [
    "project_id",
    "configured",
    "enforced",
    "created_at",
    "updated_at",
    "updated_by",
    "models",
    "default_model",
    "account",
    "effective"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the update_inference_policy_models tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}