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

  • project_referencestring · min length 1

    Project 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__get_inference_policy",    "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.