Get file chunk

Return file chunk. Requires project.knowledge.read.

Arguments

  • project_referencestring

    Project identifier or slug that scopes the tool call.

  • chunk_idstring · uuidrequired

    Provide the chunk id.

  • branch_idstring · uuid | null

    Preview branch ID. Use null for main. Provide exactly one of branch_id, release_id, or release_version.

  • release_idstring · uuid

    Release ID containing the chunk.

  • release_versionstring · min length 1

    Release version containing the chunk.

  • include_embeddingboolean

    Include embedding metadata; defaults to false. Requires embedding_dimension when true.

  • embedding_dimensionstring

    Embedding dimension: 768, 1024, 1536, 3072, or 4096. One of 768, 1024, 1536, 3072, 4096.

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

The tool ran; its output is result.structuredContent.