# Update account inference policy

Tool: `veryfront__update_account_inference_policy`

Update the models an account allows and denies and its default model, replacing each key sent; returns the policy. Requires account.settings.manage.

## Arguments

| Name            | Type                                           | Required | Description                                                                                                                               |
| --------------- | ---------------------------------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| `models`        | object                                         |          | Models the account allows and denies. Every project of the account can only narrow them.                                                  |
| `default_model` | string · min length 1 · max length 200 \| null |          | 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`    | string · uuid                                  | Yes      | Provide the account id.                                                                                                                   |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
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"
    }
  }
}'
```

## Example response

```json
{
  "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"
    }
  }
}
```
