Return file chunk. Requires project.knowledge.read.
Arguments
project_referencestringProject identifier or slug that scopes the tool call.
chunk_idstring · uuidrequiredProvide the chunk id.
branch_idstring · uuid | nullPreview branch ID. Use null for main. Provide exactly one of branch_id, release_id, or release_version.
release_idstring · uuidRelease ID containing the chunk.
release_versionstring · min length 1Release version containing the chunk.
include_embeddingbooleanInclude embedding metadata; defaults to false. Requires embedding_dimension when true.
embedding_dimensionstringEmbedding 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.