Update account inference policy

veryfront__update_account_inference_policy

Requires account.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 account allows and denies. Every project of the account can only narrow them.
default_modelstring or nullNoDefault model of projects that set none. It must be allowed by the policy. Null uses the built-in default. Omit to keep the stored value.
account_idstringYesProvide the account id. Format: uuid.

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_account_inference_policy",
    "arguments": {
      "account_id": "00000000-0000-4000-8000-000000000000"
    }
  }
}

Result

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

FieldTypeRequiredDescription and constraints
account_idstringYesThe account id returned by the tool. Format: uuid.
modelsobjectYesModels the account allows and denies. Every project of the account inherits them and can only narrow them.
default_modelstring or nullYesDefault model ID. Null uses the built-in default, mistral/mistral-small-2503. A project default wins over the account default.

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 account 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 account denies. A denial overrides an allowance. Omit to keep the stored list."
        }
      },
      "additionalProperties": false,
      "description": "Models the account allows and denies. Every project of the account can only narrow them."
    },
    "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 projects that set none. It must be allowed by the policy. Null uses the built-in default. Omit to keep the stored value."
    },
    "account_id": {
      "type": "string",
      "format": "uuid",
      "description": "Provide the account id."
    }
  },
  "required": [
    "account_id"
  ],
  "additionalProperties": false,
  "description": "Update the models an account allows and denies and its default model. Each key sent replaces the stored value. Requires a signed-in account owner or admin. API keys are rejected regardless of their scopes.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "account_id": {
      "type": "string",
      "format": "uuid",
      "description": "The account id returned by the tool."
    },
    "models": {
      "type": "object",
      "properties": {
        "allowed": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string",
                "description": "One allowed item returned by the tool."
              },
              "description": "List of allowed returned by the tool."
            },
            {
              "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": "One denied item returned by the tool."
          },
          "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 account allows and denies. Every project of the account inherits them and can only narrow them."
    },
    "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": [
    "account_id",
    "models",
    "default_model"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Structured result returned by the update_account_inference_policy tool."
}