# Get inference policy

Tool: `veryfront__get_inference_policy`

Read which models a project allows and denies, its default model, and what it inherits from its account; returns the served defaults when the project stores no policy. Requires project.settings.manage.

## Arguments

| Name                | Type                  | Required | Description        |
| ------------------- | --------------------- | -------- | ------------------ |
| `project_reference` | string · min length 1 |          | Project ID or slug |

## 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__get_inference_policy",
    "arguments": {}
  }
}'
```

## Example response

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