Upsert file chunks

Upsert file chunks. Requires project.knowledge.write.

Arguments

  • project_referencestring

    Project identifier or slug that scopes the tool call.

  • branch_namestringrequired

    Branch whose copy of the file is chunked.

  • file_pathstringrequired

    Project-relative path of the chunked file.

  • chunksarray of objectrequired

    Replacement batch of 1 to 500 chunks; each content string must be nonempty.

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__upsert_file_chunks",    "arguments": {      "branch_name": "string",      "file_path": "string",      "chunks": [        {          "index": 0,          "content": "string",          "start_offset": 0,          "end_offset": 0,          "token_count": 1        }      ]    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"chunks\":[{\"id\":\"string\",\"index\":0}],\"created\":0,\"updated\":0}"      }    ],    "structuredContent": {      "chunks": [        {          "id": "string",          "index": 0        }      ],      "created": 0,      "updated": 0    }  }}

The tool ran; its output is result.structuredContent.