veryfront__get_inference_policy
Requires project.settings.manage.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Read-only.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project 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.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__get_inference_policy",7 "arguments": {}8 }9}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_id | string | Yes | Project identifier associated with this result. Format: uuid. |
configured | boolean | Yes | 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 | boolean | Yes | 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 | string or null | Yes | Records policy creation in ISO 8601 format, or null when no policy row exists. |
updated_at | string or null | Yes | Records the last policy update in ISO 8601 format, or null when no policy row exists. |
updated_by | string or null | Yes | Records the user ID responsible for the last policy update, or null when no actor is recorded. |
models | object | Yes | Models the project itself allows and denies. They only narrow its account. |
default_model | string or null | Yes | The project's own default model. Null uses the account default, then the built-in default. |
allow_provider_key_direct_routes | boolean | Yes | Whether the account's saved provider keys (for example an Anthropic key) may call their provider directly although the project states no tier. On, the default EU-resident floor does not apply to those routes, which may be served outside the EU; Veryfront's own routes keep it, and every requirement the project states (a tier, jurisdictions, hosts, models, precision) still applies. Saving a key alone never relaxes the policy. False when never set. |
account | object or null | Yes | The policy the project inherits from its account: its models and default_model. Null for a project without an account. |
effective | object | Yes | 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. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "minLength": 1,7 "description": "Project ID or slug"8 }9 },10 "additionalProperties": false,11 "description": "Requires a signed-in project administrator. API keys are rejected regardless of their scopes, including project-scoped keys.",12 "$schema": "http://json-schema.org/draft-07/schema#"13}output-schema.json
1{2 "type": "object",3 "properties": {4 "project_id": {5 "type": "string",6 "format": "uuid",7 "description": "Project identifier associated with this result."8 },9 "configured": {10 "type": "boolean",11 "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."12 },13 "enforced": {14 "type": "boolean",15 "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."16 },17 "created_at": {18 "type": [19 "string",20 "null"21 ],22 "description": "Records policy creation in ISO 8601 format, or null when no policy row exists."23 },24 "updated_at": {25 "type": [26 "string",27 "null"28 ],29 "description": "Records the last policy update in ISO 8601 format, or null when no policy row exists."30 },31 "updated_by": {32 "anyOf": [33 {34 "type": "string",35 "format": "uuid"36 },37 {38 "type": "null",39 "description": "The updated by returned by the tool."40 }41 ],42 "description": "Records the user ID responsible for the last policy update, or null when no actor is recorded."43 },44 "models": {45 "type": "object",46 "properties": {47 "allowed": {48 "anyOf": [49 {50 "type": "array",51 "items": {52 "type": "string"53 },54 "description": "List of allowed associated with this tool result."55 },56 {57 "type": "null",58 "description": "The allowed returned by the tool."59 }60 ],61 "description": "Canonical model IDs that may be used. Null means no restriction; an empty list allows nothing."62 },63 "denied": {64 "type": "array",65 "items": {66 "type": "string"67 },68 "description": "Canonical model IDs that may not be used. A denial overrides an allowance; an empty list denies nothing."69 }70 },71 "required": [72 "allowed",73 "denied"74 ],75 "additionalProperties": false,76 "description": "Models the project itself allows and denies. They only narrow its account."77 },78 "default_model": {79 "type": [80 "string",81 "null"82 ],83 "description": "The project's own default model. Null uses the account default, then the built-in default."84 },85 "allow_provider_key_direct_routes": {86 "type": "boolean",87 "description": "Whether the account's saved provider keys (for example an Anthropic key) may call their provider directly although the project states no tier. On, the default EU-resident floor does not apply to those routes, which may be served outside the EU; Veryfront's own routes keep it, and every requirement the project states (a tier, jurisdictions, hosts, models, precision) still applies. Saving a key alone never relaxes the policy. False when never set."88 },89 "account": {90 "anyOf": [91 {92 "type": "object",93 "properties": {94 "models": {95 "type": "object",96 "properties": {97 "allowed": {98 "$ref": "#/properties/models/properties/allowed",99 "description": "The allowed returned by the tool."100 },101 "denied": {102 "$ref": "#/properties/models/properties/denied",103 "description": "The denied returned by the tool."104 }105 },106 "required": [107 "allowed",108 "denied"109 ],110 "additionalProperties": false,111 "description": "Structured models details associated with this tool result."112 },113 "default_model": {114 "type": [115 "string",116 "null"117 ],118 "description": "Default model ID. Null uses the built-in default, mistral/mistral-small-2503. A project default wins over the account default."119 }120 },121 "required": [122 "models",123 "default_model"124 ],125 "additionalProperties": false,126 "description": "Structured account details associated with this tool result."127 },128 {129 "type": "null",130 "description": "The account returned by the tool."131 }132 ],133 "description": "The policy the project inherits from its account: its models and default_model. Null for a project without an account."134 },135 "effective": {136 "type": "object",137 "properties": {138 "models": {139 "$ref": "#/properties/account/anyOf/0/properties/models",140 "description": "The models returned by the tool."141 },142 "default_model": {143 "type": [144 "string",145 "null"146 ],147 "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. A customer-funded default still needs a usable credential at run time. Project members can read this default through `GET /ai/models` deployments[].is_policy_default without settings access; API-key limits may narrow that discovery answer further."148 }149 },150 "required": [151 "models",152 "default_model"153 ],154 "additionalProperties": false,155 "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."156 }157 },158 "required": [159 "project_id",160 "configured",161 "enforced",162 "created_at",163 "updated_at",164 "updated_by",165 "models",166 "default_model",167 "allow_provider_key_direct_routes",168 "account",169 "effective"170 ],171 "additionalProperties": false,172 "description": "Structured result returned by the get_inference_policy tool.",173 "$schema": "http://json-schema.org/draft-07/schema#"174}