Update the models an account allows and denies and its default model, replacing each key sent; returns the policy. Requires account.settings.manage.
Arguments
modelsobjectModels the account allows and denies. Every project of the account can only narrow them.
default_modelstring · min length 1 · max length 200 | nullDefault 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_idstring · uuidrequiredProvide the account id.
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_account_inference_policy", "arguments": { "account_id": "00000000-0000-0000-0000-000000000000" } }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"account_id\":\"00000000-0000-0000-0000-000000000000\",\"models\":{\"allowed\":[\"string\"],\"denied\":[\"string\"]},\"default_model\":\"string\"}" } ], "structuredContent": { "account_id": "00000000-0000-0000-0000-000000000000", "models": { "allowed": [ "string" ], "denied": [ "string" ] }, "default_model": "string" } }}The tool ran; its output is result.structuredContent.