veryfront__get_file_chunk
Requires project.knowledge.read.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Read-only.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project identifier or slug that scopes the tool call. |
chunk_id | string | Yes | Provide the chunk id. Format: uuid. |
branch_id | string or null | No | Preview branch ID. Use null for main. Provide exactly one of branch_id, release_id, or release_version. |
release_id | string | No | Release ID containing the chunk. Format: uuid. |
release_version | string | No | Release version containing the chunk. Minimum length: 1. |
include_embedding | boolean | No | Include embedding metadata; defaults to false. Requires embedding_dimension when true. |
embedding_dimension | string | No | Embedding dimension: 768, 1024, 1536, 3072, or 4096. Values: "768", "1024", "1536", "3072", "4096". |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__get_file_chunk",7 "arguments": {8 "chunk_id": "00000000-0000-4000-8000-000000000000"9 }10 }11}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
chunk | object | Yes | Searchable chunk extracted from a project file for semantic retrieval. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "description": "Project identifier or slug that scopes the tool call."7 },8 "chunk_id": {9 "type": "string",10 "format": "uuid",11 "description": "Provide the chunk id."12 },13 "branch_id": {14 "anyOf": [15 {16 "type": "string",17 "format": "uuid",18 "description": "Branch identifier. Use null for the main branch when the tool supports it."19 },20 {21 "type": "null",22 "description": "Branch identifier. Use null for the main branch when the tool supports it."23 }24 ],25 "description": "Preview branch ID. Use null for main. Provide exactly one of branch_id, release_id, or release_version."26 },27 "release_id": {28 "type": "string",29 "format": "uuid",30 "description": "Release ID containing the chunk."31 },32 "release_version": {33 "type": "string",34 "minLength": 1,35 "description": "Release version containing the chunk."36 },37 "include_embedding": {38 "type": "boolean",39 "description": "Include embedding metadata; defaults to false. Requires embedding_dimension when true."40 },41 "embedding_dimension": {42 "type": "string",43 "enum": [44 "768",45 "1024",46 "1536",47 "3072",48 "4096"49 ],50 "description": "Embedding dimension: 768, 1024, 1536, 3072, or 4096."51 }52 },53 "required": [54 "chunk_id"55 ],56 "additionalProperties": false,57 "$schema": "http://json-schema.org/draft-07/schema#",58 "description": "Arguments for the get_file_chunk tool."59}output-schema.json
1{2 "type": "object",3 "properties": {4 "chunk": {5 "type": "object",6 "properties": {7 "id": {8 "type": "string",9 "description": "Indexed chunk identifier."10 },11 "file_path": {12 "type": "string",13 "description": "Project-relative file path that produced this chunk."14 },15 "file_id": {16 "type": "string",17 "description": "File identifier when the source file is tracked as a project file."18 },19 "file_version_id": {20 "type": "string",21 "description": "File version identifier used to generate this chunk."22 },23 "index": {24 "type": "number",25 "description": "Zero-based chunk position within the file version."26 },27 "content": {28 "type": "string",29 "description": "Chunk text content used for retrieval and inspection."30 },31 "start_offset": {32 "type": "number",33 "description": "Inclusive character offset where the chunk begins in the source file."34 },35 "end_offset": {36 "type": "number",37 "description": "Exclusive character offset where the chunk ends in the source file."38 },39 "token_count": {40 "type": "number",41 "description": "Approximate token count for the chunk content."42 },43 "source_checksum": {44 "type": "string",45 "description": "Checksum of the source content used to detect stale embeddings."46 },47 "created_at": {48 "type": "string",49 "description": "Timestamp when the chunk was indexed."50 },51 "embedding": {52 "anyOf": [53 {54 "type": "object",55 "properties": {56 "id": {57 "type": "string",58 "description": "Embedding record identifier for this indexed chunk."59 },60 "model": {61 "type": "string",62 "description": "Embedding model name used to create the vector."63 },64 "status": {65 "type": "string",66 "enum": [67 "ready",68 "stale",69 "missing"70 ],71 "description": "Embedding availability status for the chunk."72 }73 },74 "required": [75 "id",76 "model",77 "status"78 ],79 "additionalProperties": false,80 "description": "Embedding metadata attached to an indexed file chunk."81 },82 {83 "type": "null",84 "description": "The embedding returned by the tool."85 }86 ],87 "description": "Embedding metadata at the requested dimension. Null when embedding_included is false (embeddings were not read) or when none is stored at that dimension."88 },89 "embedding_included": {90 "type": "boolean",91 "description": "Whether embeddings were read for this response. When false, a null embedding says nothing about whether the chunk is indexed."92 }93 },94 "required": [95 "id",96 "file_path",97 "file_version_id",98 "index",99 "content",100 "start_offset",101 "end_offset",102 "token_count",103 "embedding",104 "embedding_included"105 ],106 "additionalProperties": false,107 "description": "Searchable chunk extracted from a project file for semantic retrieval."108 }109 },110 "required": [111 "chunk"112 ],113 "additionalProperties": false,114 "description": "Structured result returned by the get_file_chunk tool.",115 "$schema": "http://json-schema.org/draft-07/schema#"116}