# Get file chunk

Tool: `veryfront__get_file_chunk`

Return file chunk. 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.                                                                                      |
| `branch_id`           | string · uuid \| null |          | Preview branch ID. Use null for main. Provide exactly one of branch\_id, release\_id, or release\_version. |
| `release_id`          | string · uuid         |          | Release ID containing the chunk.                                                                           |
| `release_version`     | string · min length 1 |          | Release version containing the chunk.                                                                      |
| `include_embedding`   | boolean               |          | Include embedding metadata; defaults to false. Requires embedding\_dimension when true.                    |
| `embedding_dimension` | string                |          | Embedding dimension: 768, 1024, 1536, 3072, or 4096. One of `768`, `1024`, `1536`, `3072`, `4096`.         |

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

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"chunk\":{\"id\":\"string\",\"file_path\":\"string\",\"file_id\":\"string\",\"file_version_id\":\"string\",\"index\":0,\"content\":\"string\",\"start_offset\":0,\"end_offset\":0,\"token_count\":0,\"source_checksum\":\"string\",\"created_at\":\"string\",\"embedding\":{\"id\":\"string\",\"model\":\"string\",\"status\":\"ready\"},\"embedding_included\":false}}"
      }
    ],
    "structuredContent": {
      "chunk": {
        "id": "string",
        "file_path": "string",
        "file_id": "string",
        "file_version_id": "string",
        "index": 0,
        "content": "string",
        "start_offset": 0,
        "end_offset": 0,
        "token_count": 0,
        "source_checksum": "string",
        "created_at": "string",
        "embedding": {
          "id": "string",
          "model": "string",
          "status": "ready"
        },
        "embedding_included": false
      }
    }
  }
}
```
