# Get file chunk embedding

Tool: `veryfront__get_file_chunk_embedding`

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

## Arguments

| Name                | Type                   | Required | Description                                                                                                                                                                                                                                                  |
| ------------------- | ---------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `project_reference` | string                 |          | Project identifier or slug that scopes the tool call.                                                                                                                                                                                                        |
| `chunk_id`          | string · uuid          | Yes      | Provide the chunk id.                                                                                                                                                                                                                                        |
| `environment`       | string                 |          | 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_id`         | string · 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_id`        | string · uuid          |          | Select a frozen release by ID. RELEASE is inferred when environment is omitted.                                                                                                                                                                              |
| `release_version`   | string                 |          | Select a frozen release by version when no release ID is supplied. RELEASE is inferred when environment is omitted.                                                                                                                                          |
| `dimension`         | string                 | Yes      | Vector dimension to retrieve. One of `768`, `1024`, `1536`, `3072`, `4096`.                                                                                                                                                                                  |
| `include_vector`    | boolean · default true |          | Include raw vector data. Defaults to true.                                                                                                                                                                                                                   |

## 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_file_chunk_embedding",
    "arguments": {
      "chunk_id": "00000000-0000-0000-0000-000000000000",
      "dimension": "768"
    }
  }
}'
```

## Example response

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