Update the models a project allows and denies and its default model, replacing each key sent; returns the policy. Requires project.settings.manage.
Arguments
modelsobjectModels the project allows and denies. They only narrow what its account allows.
default_modelstring · min length 1 · max length 200 | nullDefault 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.
allow_provider_key_direct_routesbooleanWhether 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. Omit to keep the stored value.
project_referencestring · min length 1Project ID or slug
Responses
curl -X POST -N "https://api.veryfront.com/mcp" \ -H "Authorization: Bearer $VERYFRONT_API_KEY" \ -H "Accept: application/json, text/event-stream" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "veryfront__update_inference_policy_models", "arguments": {} }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"project_id\":\"00000000-0000-0000-0000-000000000000\",\"configured\":false,\"enforced\":false,\"created_at\":\"string\",\"updated_at\":\"string\",\"updated_by\":\"00000000-0000-0000-0000-000000000000\",\"models\":{\"allowed\":[\"string\"],\"denied\":[\"string\"]},\"default_model\":\"string\",\"allow_provider_key_direct_routes\":false,\"account\":{\"models\":{\"allowed\":[\"string\"],\"denied\":[\"string\"]},\"default_model\":\"string\"},\"effective\":{\"models\":{\"allowed\":[\"string\"],\"denied\":[\"string\"]},\"default_model\":\"string\"}}" } ], "structuredContent": { "project_id": "00000000-0000-0000-0000-000000000000", "configured": false, "enforced": false, "created_at": "string", "updated_at": "string", "updated_by": "00000000-0000-0000-0000-000000000000", "models": { "allowed": [ "string" ], "denied": [ "string" ] }, "default_model": "string", "allow_provider_key_direct_routes": false, "account": { "models": { "allowed": [ "string" ], "denied": [ "string" ] }, "default_model": "string" }, "effective": { "models": { "allowed": [ "string" ], "denied": [ "string" ] }, "default_model": "string" } } }}The tool ran; its output is result.structuredContent.