Get file chunk embedding

Return a chunk embedding. Requires project.knowledge.read.

Arguments

  • project_referencestring

    Project identifier or slug that scopes the tool call.

  • chunk_idstring · uuidrequired

    Provide the chunk id.

  • environmentstring

    Deployment index to read. Omit all scope selectors for project-wide stored embeddings, including branch, release, historical, and legacy indexes. PREVIEW explicitly selects current main or the selected branch. One of PREVIEW, PRODUCTION, RELEASE.

  • branch_idstring · uuid | null

    Select a current preview branch. Use null to explicitly select current main; when PREVIEW is set, an omitted branch also selects main.

  • release_idstring · uuid

    Select a frozen release by ID. RELEASE is inferred when environment is omitted.

  • release_versionstring

    Select a frozen release by version when no release ID is supplied. RELEASE is inferred when environment is omitted.

  • dimensionstringrequired

    Vector dimension to retrieve. One of 768, 1024, 1536, 3072, 4096.

  • include_vectorboolean · default true

    Include raw vector data. Defaults to true.

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_file_chunk_embedding",    "arguments": {      "chunk_id": "00000000-0000-0000-0000-000000000000",      "dimension": "768"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"id\":\"string\",\"chunk_id\":\"string\",\"model\":{\"name\":\"string\",\"provider\":\"string\",\"dimension\":0},\"status\":\"ready\",\"vector\":[0],\"created_at\":\"string\"}"      }    ],    "structuredContent": {      "id": "string",      "chunk_id": "string",      "model": {        "name": "string",        "provider": "string",        "dimension": 0      },      "status": "ready",      "vector": [0],      "created_at": "string"    }  }}

The tool ran; its output is result.structuredContent.